summaryrefslogtreecommitdiff
path: root/drivers/watchdog/sbc_fitpc2_wdt.c
diff options
context:
space:
mode:
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>2021-06-10 20:08:06 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-06-15 14:01:52 +0200
commit08a84410a04f05c7c1b8e833f552416d8eb9f6fe (patch)
tree7ede70360430c7736c61c61f56220a7d121b28ee /drivers/watchdog/sbc_fitpc2_wdt.c
parent99289bf1a76c0aea6ac0f77335b8c9bdca16aac7 (diff)
serial: sh-sci: Stop dmaengine transfer in sci_stop_tx()
Stop dmaengine transfer in sci_stop_tx(). Otherwise, the following message is possible output when system enters suspend and while transferring data, because clearing TIE bit in SCSCR is not able to stop any dmaengine transfer. sh-sci e6550000.serial: ttySC1: Unable to drain transmitter Note that this driver has already used some #ifdef in the .c file so that this patch also uses #ifdef to fix the issue. Otherwise, build errors happens if the CONFIG_SERIAL_SH_SCI_DMA is disabled. Fixes: 73a19e4c0301 ("serial: sh-sci: Add DMA support.") Cc: <stable@vger.kernel.org> # v4.9+ Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Link: https://lore.kernel.org/r/20210610110806.277932-1-yoshihiro.shimoda.uh@renesas.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/watchdog/sbc_fitpc2_wdt.c')
0 files changed, 0 insertions, 0 deletions