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: NPhil Eichinger <phil@zankapfel.net> Reviewed-by: NFabio Estevam <fabio.estevam@nxp.com> Fixes: b8f3bff0 ("serial: imx: Support common rs485 binding for RTS polarity" Acked-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录