atheros: ar2315-spiflash: use mutex inplace of spinlock
authorJohn Crispin <blogic@openwrt.org>
Fri, 12 Sep 2014 06:52:00 +0000 (06:52 +0000)
committerJohn Crispin <blogic@openwrt.org>
Fri, 12 Sep 2014 06:52:00 +0000 (06:52 +0000)
commit02d37cc0e70b2a25f7ad48d7d7552d364b67820c
tree9419742b3461898e6b882c0b6b4c91d46f75ab4c
parent5471f2816d504e6a9d871e1819067a8803a46ae7
atheros: ar2315-spiflash: use mutex inplace of spinlock

Use mutex inplace of spinlock to make code simple, also call
mutex_{lock,unlock} explicitly to avoid sparse warning about context
imbalance.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42491 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/atheros/patches-3.14/120-spiflash.patch