]> git.baikalelectronics.ru Git - kernel.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)
commit1c330cb92f3c8ac71de0d8989a1cb6d0e749f4a4
tree83d56923ceff42d0bf3059083d9339e65d48d2e9
parent95638a19c31775997637c3c360e4f3c729d114a9
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