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)
commit874a5770ed977ee42eceed4e7f81dd1154a6ea60
tree9419742b3461898e6b882c0b6b4c91d46f75ab4c
parenta98ec90df397a14ab4bfe11479f8a83e47fffe8f
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