i2c: busses: Replace spin_lock_irqsave with spin_lock in hard IRQ
authorWeihang Li <liweihang@huawei.com>
Mon, 8 Feb 2021 10:48:37 +0000 (18:48 +0800)
committerWolfram Sang <wsa@kernel.org>
Fri, 12 Feb 2021 07:21:57 +0000 (08:21 +0100)
commitbb3fe9ff5306d058af952f689f22448af286def8
treeb92084fcc0306f0c8e33e09da06e215406bcaccc
parent679c314b842ac56f8353500cba67fccc68c0b40f
i2c: busses: Replace spin_lock_irqsave with spin_lock in hard IRQ

There is no need to do irqsave and irqrestore in context of hard IRQ.

Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-digicolor.c
drivers/i2c/busses/i2c-jz4780.c