diff options
author | Bhaumik Bhatt <bbhatt@codeaurora.org> | 2020-09-29 23:22:06 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-02 11:33:47 +0200 |
commit | a6c1fff8571ae117be7ae2e7abff006924aca9ac (patch) | |
tree | 7cc23e9aa01532f7bbaf3a53c7ee0523adffb705 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5aa93f0576b4e7be60ffcccb674470c59789fd1b (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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions