summaryrefslogtreecommitdiff
path: root/include/clocksource/pxa.h
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2017-02-01 07:27:47 -0800
committerKalle Valo <kvalo@qca.qualcomm.com>2017-02-07 10:59:26 +0200
commit03c95dbef64264b6d86d50c0f0d90fdf989e528e (patch)
treea9147ea324fb1aa1f552067280c35a52a0fb664d /include/clocksource/pxa.h
parent7f622593cc5add77a99cd39404e8a851be9de792 (diff)
wcn36xx: Implement cancel_hw_scan
In the even that the wcn36xx interface is brought down while a hw_scan is active we must abort and wait for the ongoing scan to signal completion to mac80211. Reported-by: Mart Raudsepp <leio@gentoo.org> Fixes: 886039036c20 ("wcn36xx: Implement firmware assisted scan") Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'include/clocksource/pxa.h')
0 files changed, 0 insertions, 0 deletions
rces' executes `list_splice_tail_init' on `pch->work_list' under lock `pl330->lock', whereas in the rest of the code `pch->work_list' is protected by `pch->lock'. I don't know if this may cause race conditions. Similarly `pch->cyclic' is written by `pl330_alloc_chan_resources' under `pl330->lock' but read by `pl330_tx_submit' under `pch->lock'. Second, I have removed locking from `pl330_request_channel' and `pl330_release_channel' functions. Function `pl330_request_channel' is only called from `pl330_alloc_chan_resources', so the lock is already held. Function `pl330_release_channel' is called from `pl330_free_chan_resources', which already holds the lock, and from `pl330_del'. Function `pl330_del' is called in an error path of `pl330_probe' and at the end of `pl330_remove', but I assume that there cannot be concurrent accesses to the protected data at those points. Signed-off-by: Iago Abal <mail@iagoabal.eu> Reviewed-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'include/dt-bindings/power/r8a7790-sysc.h')