dwc3-generic: Don't fail probe if clk/reset entries are absent
authorVignesh Raghavendra <vigneshr@ti.com>
Fri, 25 Oct 2019 08:18:05 +0000 (13:48 +0530)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Thu, 31 Oct 2019 11:11:24 +0000 (12:11 +0100)
commitd624434f5ebc5e3eb5f5609f06200f477cf8d8b5
tree9dce72073bb882270a5e80288158bef28b652073
parent412326d1bc2d346d7b4faad6fa547eaf065681a2
dwc3-generic: Don't fail probe if clk/reset entries are absent

Some boards don't populate clk/reset entries as these are are optional
as per binding documentation. Therefore, don't fail driver probe if
clk/reset entries are absent in DT.

This fixes fastboot failures seen due to enabling of CONFIG_CLK on AM57xx

Fixes: e8e683d33b0c ("board: ti: am57xx-idk: Configure the CDCE913 clock synthesizer")
Reported-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
drivers/usb/dwc3/dwc3-generic.c