Loading Documentation/devicetree/bindings/bus/mhi.txt +6 −0 Original line number Original line Diff line number Diff line Loading @@ -138,6 +138,12 @@ mhi channel node properties: driver probe is complete. This should be only set true if initial driver probe is complete. This should be only set true if initial handshake iniaitead by external modem. handshake iniaitead by external modem. - mhi,wake-capable Usage: optional Value type: <bool> Definition: Time sensitive data channel, host should process all pending data before system suspend. ========================== ========================== mhi event node properties: mhi event node properties: ========================== ========================== Loading drivers/bus/mhi/devices/mhi_uci.c +3 −0 Original line number Original line Diff line number Diff line Loading @@ -633,6 +633,9 @@ static void mhi_dl_xfer_cb(struct mhi_device *mhi_dev, list_add_tail(&buf->node, &uci_chan->pending); list_add_tail(&buf->node, &uci_chan->pending); spin_unlock_irqrestore(&uci_chan->lock, flags); spin_unlock_irqrestore(&uci_chan->lock, flags); if (mhi_dev->dev.power.wakeup) __pm_wakeup_event(mhi_dev->dev.power.wakeup, 0); wake_up(&uci_chan->wq); wake_up(&uci_chan->wq); } } Loading Loading
Documentation/devicetree/bindings/bus/mhi.txt +6 −0 Original line number Original line Diff line number Diff line Loading @@ -138,6 +138,12 @@ mhi channel node properties: driver probe is complete. This should be only set true if initial driver probe is complete. This should be only set true if initial handshake iniaitead by external modem. handshake iniaitead by external modem. - mhi,wake-capable Usage: optional Value type: <bool> Definition: Time sensitive data channel, host should process all pending data before system suspend. ========================== ========================== mhi event node properties: mhi event node properties: ========================== ========================== Loading
drivers/bus/mhi/devices/mhi_uci.c +3 −0 Original line number Original line Diff line number Diff line Loading @@ -633,6 +633,9 @@ static void mhi_dl_xfer_cb(struct mhi_device *mhi_dev, list_add_tail(&buf->node, &uci_chan->pending); list_add_tail(&buf->node, &uci_chan->pending); spin_unlock_irqrestore(&uci_chan->lock, flags); spin_unlock_irqrestore(&uci_chan->lock, flags); if (mhi_dev->dev.power.wakeup) __pm_wakeup_event(mhi_dev->dev.power.wakeup, 0); wake_up(&uci_chan->wq); wake_up(&uci_chan->wq); } } Loading