summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorBhalchandra Gajare <gajare@codeaurora.org>2017-01-26 16:42:03 -0800
committerBhalchandra Gajare <gajare@codeaurora.org>2017-01-30 18:00:50 -0800
commit91b8de6ef69158f862e69513271e5aa2a9351d0a (patch)
tree825f660fec1cd307cff3d35fb96b5f3d5abb3b4e /net/switchdev/switchdev.c
parent896e0b12acfbcf071032e4b35091d87e1dd4f17f (diff)
ASoC: wcd-spi: add system suspend and resume functionality
When any SPI transaction is in progress or the SPI clock request is active, the system suspend needs to be blocked to make sure the pending transaction completes. If not blocked, it could result into device crash due to unclocked access. Also, if other components request resume through WDSP_EVENT_RESUME, we need to make sure the system resume happens if the driver is already in suspended state. CRs-Fixed: 1111863 Change-Id: I48a357b93bd46caa30e22f82299b70393f497827 Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions