mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
serial: 8250: modify warning log about dma request fail
Change-Id: Ib26ef05bb04542ff8d4527a8e7a79cae4dcaa31d Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
This commit is contained in:
@@ -2370,8 +2370,13 @@ dont_test_tx_en:
|
||||
if (up->dma) {
|
||||
retval = serial8250_request_dma(up);
|
||||
if (retval) {
|
||||
#ifdef CONFIG_ARCH_ROCKCHIP
|
||||
pr_warn_ratelimited("%s - failed to request DMA, use interrupt mode\n",
|
||||
port->name);
|
||||
#else
|
||||
pr_warn_ratelimited("%s - failed to request DMA\n",
|
||||
port->name);
|
||||
#endif
|
||||
up->dma = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user