diff options
author | Mukesh Kumar Savaliya <msavaliy@codeaurora.org> | 2017-06-13 17:33:00 +0530 |
---|---|---|
committer | Mukesh Kumar Savaliya <msavaliy@codeaurora.org> | 2017-06-29 15:50:38 +0530 |
commit | 61b9e193aafe4bb3eac6f1804a559916a7117410 (patch) | |
tree | bb0dbfb356bee3aeb0adcc34b14d0e978150e2f5 /drivers/target/Kconfig | |
parent | 085ef3652a1022611d7696837604953a55775db9 (diff) |
spi: spi_qsd: serve set_cs call only for valid device status
when set_cs() is called by framework, first check the device suspend
status and if not suspended then proceed for register access. Let system
suspend call SPI runtime suspend but make sure set_cs doesn't race with
it by holding the mutex.
Change-Id: Id6d05ac37227bf3358438eeedf279ddd1c9aab8b
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
Diffstat (limited to 'drivers/target/Kconfig')
0 files changed, 0 insertions, 0 deletions