summaryrefslogtreecommitdiffstats
path: root/drivers/ssb
diff options
context:
space:
mode:
authorJia-Ju Bai2018-01-26 17:38:35 +0100
committerKalle Valo2018-02-27 14:52:13 +0100
commit8100091d02487ff267af0d410ceb9eefebc8ea03 (patch)
treeda22bf476d964aaa59c6ac7a293046f79a1947a7 /drivers/ssb
parentwl1251: Set generated MAC address back to NVS data (diff)
downloadkernel-qcow2-linux-8100091d02487ff267af0d410ceb9eefebc8ea03.tar.gz
kernel-qcow2-linux-8100091d02487ff267af0d410ceb9eefebc8ea03.tar.xz
kernel-qcow2-linux-8100091d02487ff267af0d410ceb9eefebc8ea03.zip
bcma: Replace mdelay with usleep_range in bcma_pmu_resources_init
After checking all possible call chains to bcma_pmu_resources_init() here, my tool finds that this function is never called in atomic context, namely never in an interrupt handler or holding a spinlock. Thus mdelay can be replaced with usleep_range to avoid busy wait. This is found by a static analysis tool named DCNS written by myself. Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com> Acked-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/ssb')
0 files changed, 0 insertions, 0 deletions