]> git.karo-electronics.de Git - linux-beck.git/commit
i2c: xiic: Replace spinlock with mutex
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 16 Nov 2015 13:42:05 +0000 (14:42 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 30 Nov 2015 17:37:23 +0000 (18:37 +0100)
commit77c680196791e7b13c90b4d475a3d6c96778755c
tree83d56923ceff42d0bf3059083d9339e65d48d2e9
parentc4c696fa1b0623031544da8b10f9d4e1401a49db
i2c: xiic: Replace spinlock with mutex

All protected sections are only called from sleep-able context, so there is
no need to use a spinlock.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Reviewed-by: Shubhrajyoti Datta <shubhraj@xilinx.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-xiic.c