diff options
| author | Lukas Wunner <[email protected]> | 2017-11-24 23:26:40 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-11-28 16:05:20 +0100 |
| commit | b8f3bff057b017309fbd61fe74712b1f185b5399 (patch) | |
| tree | 4f6acb9fe8cdafd64a2ed39289039455fbcca5b0 /net/switchdev/switchdev.c | |
| parent | 01d845352a81df133234a106f34cc93937dcb7bd (diff) | |
serial: imx: Support common rs485 binding for RTS polarity
Invoke the ->rs485_config callback on probe to adjust the initial RTS
polarity based on the UART's device properties.
This implicitly fixes a bug: If RTS control is not available, rs485
should be disabled even if it was enabled through a device property.
Log an error when that occurs.
Cc: Sascha Hauer <[email protected]>
Signed-off-by: Lukas Wunner <[email protected]>
Acked-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions