clk: davinci: cfgchip: testing the wrong variable
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 2 Jun 2018 07:52:56 +0000 (10:52 +0300)
committerDavid Lechner <david@lechnology.com>
Mon, 25 Jun 2018 23:07:02 +0000 (18:07 -0500)
commit0613de37373bbbc747d434f643620472bd13303b
tree96c11ac7790d5ffe916cd4928974042787df881c
parentce397d215ccd07b8ae3f71db689aedb85d56ab40
clk: davinci: cfgchip: testing the wrong variable

There is a copy and paste bug here.  We should be testing "usb1" instead
of "usb0".

Fixes: 58e1e2d2cd89 ("clk: davinci: cfgchip: Add TI DA8XX USB PHY clocks")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David Lechner <david@lechnology.com>
drivers/clk/davinci/da8xx-cfgchip.c