linux/drivers/bus/mhi/core
Bhaumik Bhatt a6c1fff857 bus: mhi: core: Introduce helper function to check device state
Introduce a helper function to determine whether the device is in a
powered ON state and resides in one of the active MHI states. This will
allow for some use cases where access can be pre-determined.

Reviewed-by: Jeffrey Hugo <jhugo@codeaurora.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20200929175218.8178-8-manivannan.sadhasivam@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-10-02 11:33:47 +02:00
..
boot.c bus: mhi: core: Ensure non-zero session or sequence ID values are used 2020-05-22 09:35:43 +02:00
init.c bus: mhi: core: Use generic name field for an MHI device 2020-10-02 11:33:46 +02:00
internal.h bus: mhi: core: Introduce helper function to check device state 2020-10-02 11:33:47 +02:00
main.c bus: mhi: core: Use generic name field for an MHI device 2020-10-02 11:33:46 +02:00
Makefile bus: mhi: core: Add support for basic PM operations 2020-03-19 07:41:04 +01:00
pm.c bus: mhi: core: Trigger host resume if suspended during mhi_device_get() 2020-10-02 11:33:46 +02:00