diff options
author | Hans de Goede <hdegoede@redhat.com> | 2017-07-12 14:31:01 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-08-14 15:01:01 +0200 |
commit | b5894d129b90f6600ac7e3420ac813c74054319b (patch) | |
tree | a7fbe38802a7e912d0e0bd9912c42cce01b5cc19 /drivers/pinctrl/pinctrl-st.c | |
parent | 26d1f4382225dfdcafd5d63d06531a90cba47c0f (diff) |
pinctrl: baytrail: Do not call WARN_ON for a firmware bug
WARN_ON causes a backtrace to get logged which is only useful for
kernel bugs. For signalling a firmware bug dev_warn(dev, FW_BUG "...")
should be used.
This fixes users running userspace software to monitor kernel oopses
getting a false positive bug-report every boot because of the wrong
use of WARN_ON.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-st.c')
0 files changed, 0 insertions, 0 deletions