diff options
author | Ryan Chen <ryan_chen@aspeedtech.com> | 2021-01-08 16:12:38 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-01-12 17:25:44 +0100 |
commit | 4e0dcf62ab4cf917d0cbe751b8bf229a065248d4 (patch) | |
tree | e3e0a08571ae5373d9fae7ea2d8e99fd8725ed8d /drivers/nvme | |
parent | 643a4df7fe3f6831d14536fd692be85f92670a52 (diff) | |
download | linux-4e0dcf62ab4cf917d0cbe751b8bf229a065248d4.tar.bz2 |
usb: gadget: aspeed: fix stop dma register setting.
The vhub engine has two dma mode, one is descriptor list, another
is single stage DMA. Each mode has different stop register setting.
Descriptor list operation (bit2) : 0 disable reset, 1: enable reset
Single mode operation (bit0) : 0 : disable, 1: enable
Fixes: 7ecca2a4080c ("usb/gadget: Add driver for Aspeed SoC virtual hub")
Cc: stable <stable@vger.kernel.org>
Acked-by: Felipe Balbi <balbi@kernel.org>
Acked-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Ryan Chen <ryan_chen@aspeedtech.com>
Link: https://lore.kernel.org/r/20210108081238.10199-2-ryan_chen@aspeedtech.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/nvme')
0 files changed, 0 insertions, 0 deletions