WSL2-Linux-Kernel/drivers/usb/chipidea
Michał Mirosław 2941a29fe9 usb: chipidea: Simplify Tegra DMA alignment code
[ Upstream commit 2ae61a2562c0d1720545b0845829a65fb6a9c2c6 ]

The USB host on Tegra3 works with 32-bit alignment. Previous code tried
to align the buffer, but it did align the wrapper struct instead, so
the buffer was at a constant offset of 8 bytes (two pointers) from
expected alignment.  Since kmalloc() guarantees at least 8-byte
alignment already, the alignment-extending is removed.

Fixes: fc53d52790 ("usb: chipidea: tegra: Support host mode")
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Link: https://lore.kernel.org/r/a0d917d492b1f91ee0019e68b8e8bca9c585393f.1695934946.git.mirq-linux@rere.qmqm.pl
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-11-20 11:08:25 +01:00
..
Kconfig
Makefile
bits.h
ci.h usb: chipidea: core: fix possible concurrent when switch role 2023-03-30 12:47:57 +02:00
ci_hdrc_imx.c usb: chipidea: imx: improve logic if samsung,picophy-* parameter is 0 2023-09-06 21:28:38 +01:00
ci_hdrc_imx.h
ci_hdrc_msm.c
ci_hdrc_pci.c
ci_hdrc_tegra.c
ci_hdrc_usb2.c
core.c usb: chipidea: fix missing goto in `ci_hdrc_probe` 2023-05-11 23:00:33 +09:00
debug.c USB: chipidea: fix memory leak with using debugfs_lookup() 2023-03-11 13:57:35 +01:00
host.c usb: chipidea: Simplify Tegra DMA alignment code 2023-11-20 11:08:25 +01:00
host.h
otg.c usb: chipidea: core: fix possible concurrent when switch role 2023-03-30 12:47:57 +02:00
otg.h
otg_fsm.c usb: chipidea: fix deadlock in ci_otg_del_timer 2022-11-26 09:24:45 +01:00
otg_fsm.h
trace.c
trace.h
udc.c usb: chipidea: udc: check request status before setting device address 2022-06-29 09:03:27 +02:00
udc.h
ulpi.c
usbmisc_imx.c usb: chipidea: imx: improve logic if samsung,picophy-* parameter is 0 2023-09-06 21:28:38 +01:00