]> git.karo-electronics.de Git - linux-beck.git/commit
usb: mtu3: fix U3 port link issue
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Wed, 7 Dec 2016 07:23:13 +0000 (15:23 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Dec 2016 08:37:24 +0000 (09:37 +0100)
commit220d88eaddad3d4f128a2fbe876d968f94723f77
tree61be7691da994a3cdb07bdb24af1126785f2626a
parentc7d4abbcb19eae4cb2b4e4b1f5a0b122200c4db1
usb: mtu3: fix U3 port link issue

the issue is introduced when @is_u3_ip is used in mtu3_device_enabe()
before initialized in mtu3_mem_alloc(), so get global IP information
at first before used by following functins.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/mtu3/mtu3_core.c