]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: davinci: cfgchip: testing the wrong variable
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 2 Jun 2018 07:52:56 +0000 (10:52 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Aug 2018 11:06:51 +0000 (13:06 +0200)
commitc3f1091f922c7f0d7f7007f6518fa30ffeb18ed9
treebbb5c3c606c12887fb545dffcaf87a59ccc30bf8
parent0f3587469a39c81443cbfceda6dd5da73dfd13c8
clk: davinci: cfgchip: testing the wrong variable

[ Upstream commit 0613de37373bbbc747d434f643620472bd13303b ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/clk/davinci/da8xx-cfgchip.c