]> git.dujemihanovic.xyz Git - u-boot.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)
commita6f5e1b9cdc9cb407ba440ca534ff0e29f987685
treefb5680b600ec840209795b37a5f96290f9054aed
parent4cc53ef1843448edf1b32bb19cfac1356eee3246
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