]> git.baikalelectronics.ru Git - kernel.git/commit
serial: mxs: remove the MXS_AUART_DMA_CONFIG
authorHuang Shijie <shijie8@gmail.com>
Sat, 3 Aug 2013 14:09:15 +0000 (10:09 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Aug 2013 07:05:17 +0000 (15:05 +0800)
commit6448ed454126abbd9fa68399c17c906f1a3e7d12
tree630667f735d221ba67f8fffd2cc96976ecb60144
parentfd82fdd6792446d68a501dd3a5ca342b4a6c1e97
serial: mxs: remove the MXS_AUART_DMA_CONFIG

The MXS_AUART_DMA_CONFIG is originally used to check if the DT node
is configured with the DMA property.

But now, the MXS_AUART_DMA_CONFIG is set unconditionally in the
serial_mxs_probe_dt(), so the check in the mxs_auart_settermios() is
not necessary anymore. This patch removes this macro.

Signed-off-by: Huang Shijie <shijie8@gmail.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/mxs-auart.c