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 <quic_bbhatt@quicinc.com>
This commit is contained in:
parent
d94692c794
commit
a2f899a4b6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user