]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: arizona: Remove BUG_ON usage
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Mon, 15 Jun 2020 13:53:20 +0000 (14:53 +0100)
committerLee Jones <lee.jones@linaro.org>
Thu, 18 Jun 2020 10:23:15 +0000 (11:23 +0100)
commit14024cc9fe9478b9948521c0d38fde03ac00cd3d
tree62a0df6b434440fb485c624436bac7a5f318651e
parent3ea2e4eab64cefa06055bb0541fcdedad4b48565
mfd: arizona: Remove BUG_ON usage

BUG_ON macros are generally frowned upon when the issue isn't super
critical, the kernel can certainly carry on with the 32k clock on the
CODEC in a bad state so change the BUG_ON to a WARN_ON.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/arizona-core.c