From a2f899a4b6844449d19f23c53286ec6ef23a2eaa Mon Sep 17 00:00:00 2001 From: Bhaumik Bhatt Date: Wed, 3 Nov 2021 11:39:43 -0700 Subject: [PATCH] bus: mhi: core: Read wake capable channel config property The read to set the "wake capable" property for channels is missing. Add it to allow setting the property and use it for waking the system from suspended state for any downlink packet that may arrive. Change-Id: I479d15fd9a60774256a04783a610f66b0ee8991c Signed-off-by: Bhaumik Bhatt --- drivers/bus/mhi/core/init.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/bus/mhi/core/init.c b/drivers/bus/mhi/core/init.c index 94d1c6b928c8..6428dbff46c0 100644 --- a/drivers/bus/mhi/core/init.c +++ b/drivers/bus/mhi/core/init.c @@ -793,6 +793,7 @@ static int parse_ch_cfg(struct mhi_controller *mhi_cntrl, mhi_chan->offload_ch = ch_cfg->offload_channel; mhi_chan->db_cfg.reset_req = ch_cfg->doorbell_mode_switch; mhi_chan->pre_alloc = ch_cfg->auto_queue; + mhi_chan->wake_capable = ch_cfg->wake_capable; /* * If MHI host allocates buffers, then the channel direction