]> asedeno.scripts.mit.edu Git - linux.git/commit
tty: serial: sh-sci: Hide DMA config question
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 30 Nov 2017 13:12:01 +0000 (14:12 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Dec 2017 19:24:14 +0000 (20:24 +0100)
commitbe7e251d20e6c800b3b9ee79d1da6059438c34f8
tree1858b708c82998ad456a997fe5ace77a12001651
parent3a987e7354eae9c1a0a298bc523647aa421149e5
tty: serial: sh-sci: Hide DMA config question

On most Renesas ARM platforms, the SCIF serial ports can be used with
DMA, so most users will want DMA support to be enabled.

On SuperH platforms, SCI(F) serial ports cannot be used with DMA yet
(see also commit 219fb0c1436e4893 ("serial: sh-sci: Remove the platform
data dma slave rx/tx channel IDs")), so users will want it disabled to
reduce kernel size.

Hence follow the above rationale to configure the default, unless
CONFIG_EXPERT is enabled.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/Kconfig