]> git.baikalelectronics.ru Git - kernel.git/commit
usb: chipidea: imx: Warn if oc polarity isn't specified
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 4 Dec 2018 08:31:30 +0000 (09:31 +0100)
committerPeter Chen <peter.chen@nxp.com>
Tue, 11 Dec 2018 01:13:10 +0000 (09:13 +0800)
commit87bf9874b90d903cbbe1df7c4e527d444e751bbc
treed1c818a57b8f0a96f8d5c716e582e96d99e358c3
parent0ea0d6b28494a17c1ec4d05ff91643729fc318ed
usb: chipidea: imx: Warn if oc polarity isn't specified

The polarity of the over current detection pin isn't configured on i.MX6/7
if it's unspecified in the device tree. So the actual configuration depends
on bootloader behavior which is bad.

So encourage users to fix their device tree by issuing a warning in this
case.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
drivers/usb/chipidea/ci_hdrc_imx.c