]> git.baikalelectronics.ru Git - kernel.git/commit
serial: sh-sci: do not warn if DMA transfers are not supported
authorUlrich Hecht <uli+renesas@fpond.eu>
Fri, 12 Oct 2018 13:47:49 +0000 (15:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Oct 2018 14:14:48 +0000 (16:14 +0200)
commitc93ba3eba7ecb3c6cac11555c300cc967bde6f8e
tree0073b7f22146e4237fa3624b86ad4b7c03fda96b
parent7c04ecf01912a9216a543f81f9e50a107e3708a0
serial: sh-sci: do not warn if DMA transfers are not supported

Not all (H)SCIF devices support DMA, and failure to set it up is not
normally a cause for concern. This patch demotes the associated warning to
debug output.

Inspired by BSP patch "sci: sh-sci: Fix transfer sequence of unsupport DMA
transfer" (6beb1f98d3bd30) by Hiromitsu Yamasaki.

Signed-off-by: Ulrich Hecht <uli+renesas@fpond.eu>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sh-sci.c