diff options
| author | 2020-09-29 23:22:06 +0530 | |
|---|---|---|
| committer | 2020-10-02 11:33:47 +0200 | |
| commit | a6c1fff8571ae117be7ae2e7abff006924aca9ac (patch) | |
| tree | 7cc23e9aa01532f7bbaf3a53c7ee0523adffb705 /include/linux | |
| parent | bus: mhi: core: Use generic name field for an MHI device (diff) | |
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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
