Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5d7f77ec authored by phil eichinger's avatar phil eichinger Committed by Greg Kroah-Hartman
Browse files

serial: imx: fix bogus dev_err



Only one of the two is really required, not both:
* have_rtscts or
* have_rtsgpio

In imx_rs485_config() this is done correctly, so RS485 is working,
just the error message is false.

Signed-off-by: default avatarPhil Eichinger <phil@zankapfel.net>
Reviewed-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
Fixes: b8f3bff0 ("serial: imx: Support common rs485 binding for RTS polarity"
Acked-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7842055b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment