summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-a4tech.c
diff options
context:
space:
mode:
authorSven Peter <sven@svenpeter.dev>2021-06-07 08:17:51 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-06-09 11:23:33 +0200
commit45d39448b4d0260743f25d88fd929451ec8296f2 (patch)
tree73a87ee35d26f7c09e2cff688bcfa0cbcd068727 /drivers/hid/hid-a4tech.c
parent60dfe484cef45293e631b3a6e8995f1689818172 (diff)
downloadlinux-45d39448b4d0260743f25d88fd929451ec8296f2.tar.bz2
usb: dwc3: support 64 bit DMA in platform driver
Currently, the dwc3 platform driver does not explicitly ask for a DMA mask. This makes it fall back to the default 32-bit mask which breaks the driver on systems that only have RAM starting above the first 4G like the Apple M1 SoC. Fix this by calling dma_set_mask_and_coherent with a 64bit mask. Reviewed-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Sven Peter <sven@svenpeter.dev> Link: https://lore.kernel.org/r/20210607061751.89752-1-sven@svenpeter.dev Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hid/hid-a4tech.c')
0 files changed, 0 insertions, 0 deletions