]> git.baikalelectronics.ru Git - uboot.git/commit
usb: musb-new: sunxi: Allocate struct phy in private
authorJagan Teki <jagan@amarulasolutions.com>
Fri, 20 Jul 2018 07:13:57 +0000 (12:43 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 23 Aug 2018 12:01:24 +0000 (17:31 +0530)
commitfe5d1c54d80261e3572c36e38305f391010ce888
tree61bfb077e8c44fb1a3e84206a1df6fa5fb4339fc
parentd88c9c57ce5521b7d920263e462e5e58f6a446c8
usb: musb-new: sunxi: Allocate struct phy in private

Allocate struct phy in private structure instead of allocating
locally and assign it to a pointer. This eventually fix miss
alignment phy which is used in another functions.

Tested-by: Chen-Yu Tsai <wens@csie.org> # A33-OlinuXino
Tested-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/usb/musb-new/sunxi.c