]> git.baikalelectronics.ru Git - uboot.git/commit
usb: musb: Always clear the data toggle bit when configuring ep
authorPali Rohár <pali@kernel.org>
Sun, 7 Feb 2021 13:50:04 +0000 (14:50 +0100)
committerMarek Vasut <marex@denx.de>
Wed, 3 Mar 2021 03:12:45 +0000 (04:12 +0100)
commit47f886f8565a1f48b296b5f5186543647aa348c3
treefb5680b600ec840209795b37a5f96290f9054aed
parent8cb0562e978f6908a1b15c855fbf6b5f46a8ace0
usb: musb: Always clear the data toggle bit when configuring ep

Without this patch clearing was done only when U-Boot was compiled with
MUSB Host Controller. But clearing of data toggle bit is needed also for
MUSB Device Controller otherwise Device Controller does not work correctly.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Acked-by: Pavel Machek <pavel@ucw.cz>
drivers/usb/musb/musb_core.c