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: NLars-Peter Clausen <lars@metafoo.de> Reviewed-by: NShubhrajyoti Datta <shubhraj@xilinx.com> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
Showing
想要评论请 注册 或 登录