summaryrefslogtreecommitdiff
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorSahitya Tummala <stummala@codeaurora.org>2013-05-24 14:08:10 +0530
committerSubhash Jadavani <subhashj@codeaurora.org>2016-05-27 10:28:39 -0700
commit27212a9a828eacf9380fec5b8352676328af126d (patch)
tree3f73978333bda894eb20ede4e9af56020a313ecd /include/linux/workqueue.h
parentcecd05aeb2f39469e505a61235a9e566f1a32a42 (diff)
mmc: sdhci: Fix sdhci_led_control() path
The SDHC driver registers sdhci_led_control() with LED class device and it gets invoked when the sysfs entry - /sys/class/leds/mmcX:: is updated. This function access SDHC Host control register (0x28) and hence, check the driver state (runtime suspended/clocks gated) before accessing it. Otherwise, it may result in unclocked access resulting in system failure. CRs-fixed: 480596 Change-Id: Icef51f02abb54316710df30429fec875030d42d9 Signed-off-by: Sahitya Tummala <stummala@codeaurora.org> [subhashj@codeaurora.org: fixed minor merge conflict] Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions