[PATCH] regmap: fix up the regmap lock error

2016-09-22 Thread Elaine Zhang
fix up the: Regmap lock is taken in regmap_update_bits_base() and then regcache_drop_region() tries to take it again. which added in commit 815806e39bf6 ("regmap: drop cache if the bus transfer error") Backtrace: [<8068ab7c>] (__schedule) from [<8068b1c4>] (schedule+0xb8/0xd0) [<8068b10c>] (schedu

Re: [PATCH] regmap: fix up the regmap lock error

2016-09-22 Thread Mark Brown
On Thu, Sep 22, 2016 at 06:17:45PM +0800, Elaine Zhang wrote: > Regmap lock is taken in regmap_update_bits_base() and then > regcache_drop_region() tries to take it again. > which added in commit 815806e39bf6 > ("regmap: drop cache if the bus transfer error") Someone already sent a change for thi