]> git.baikalelectronics.ru Git - kernel.git/commit
phy: bcm-ns-usb2: checking the wrong variable
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 10 May 2016 08:01:33 +0000 (11:01 +0300)
committerKishon Vijay Abraham I <kishon@ti.com>
Fri, 17 Jun 2016 13:32:08 +0000 (19:02 +0530)
commita45ed0e1e7f07867e561563887b1d8844b9e459d
treee402323d39d06160dd30633f21fc12da98a3ed13
parentf72d9c7dfb2338de4252138a7be3140d8b1cf532
phy: bcm-ns-usb2: checking the wrong variable

We intended to test "usb2->phy" here instead of "dev".

Fixes: db08af0530bc ('phy: bcm-ns-usb2: new driver for USB 2.0 PHY on Northstar')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-bcm-ns-usb2.c