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)
commit622fd2b98c6dd37fdbb86a417989049a3f222f05
tree61bfb077e8c44fb1a3e84206a1df6fa5fb4339fc
parent8b8d59f323d7fbd589ecb32b408841b675ca53f7
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