aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/class/cdc-acm.c
diff options
context:
space:
mode:
authorYoshihiro Shimoda <[email protected]>2021-06-10 11:08:06 +0000
committerGreg Kroah-Hartman <[email protected]>2021-06-15 12:01:52 +0000
commit08a84410a04f05c7c1b8e833f552416d8eb9f6fe (patch)
tree7ede70360430c7736c61c61f56220a7d121b28ee /drivers/usb/class/cdc-acm.c
parentMerge tag 'v5.13-rc6' into tty-next (diff)
downloadkernel-08a84410a04f05c7c1b8e833f552416d8eb9f6fe.tar.gz
kernel-08a84410a04f05c7c1b8e833f552416d8eb9f6fe.zip
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: <[email protected]> # v4.9+ Signed-off-by: Yoshihiro Shimoda <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
0 files changed, 0 insertions, 0 deletions