atheros: ar2315-spiflash: use mutex inplace of spinlock
authorJohn Crispin <john@openwrt.org>
Fri, 12 Sep 2014 06:52:00 +0000 (06:52 +0000)
committerJohn Crispin <john@openwrt.org>
Fri, 12 Sep 2014 06:52:00 +0000 (06:52 +0000)
commita28fd0dfd018dfc934436711bd9ab9768da56e4f
tree74c1886e61797416fdeee6a644ee7e28f1eacd75
parentffa6091eef929dd72fa269b170f4a853eb31eb0b
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>
SVN-Revision: 42491
target/linux/atheros/patches-3.14/120-spiflash.patch