diff options
| author | Girish Mahadevan <girishm@codeaurora.org> | 2017-01-13 14:15:38 -0700 |
|---|---|---|
| committer | Girish Mahadevan <girishm@codeaurora.org> | 2017-02-22 16:23:03 -0700 |
| commit | 67e815c616e2efb7fcb6dd0ec78dae55e62c0b03 (patch) | |
| tree | 32af96badffb388deefb1e8ff81343db8ecdeb1f /kernel/trace/trace_functions_graph.c | |
| parent | 3294e91ec6ee553a754fe6d7f6b03b60d86dcc2c (diff) | |
spi: spi_qsd: Check device state during set_cs call
If the set_cs() call is made when the device has suspended then don't
try to make the register writes to force cs and return back to the
framework. Also remove the runtime PM calls from set_cs, these should be
done in the prepare/unprepare_transfer_hardware calls from the framework.
Modify the prepare_transfer_hardware_call() to fail if the runtime
framework is not enabled and in addition don't try to call the runtime
suspend callbacks from the system suspend callback as this could race with
an on-going SPI transfer.
Change-Id: Idc714b1024c1f181a4db59d5552d7ab9100c511f
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
0 files changed, 0 insertions, 0 deletions
