]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
can: xilinx: defer the probe if clock is not found
authorVenkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com>
Thu, 25 Jan 2018 12:34:38 +0000 (18:04 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 21 Mar 2019 14:57:08 +0000 (15:57 +0100)
commitb570d8eadba1ad567d04ee139ad8083ff57791e3
tree5f11000ed711478e66f722ad8fe0ee2b01e86aef
parent20dc6c839a50f8a065d58c7051764c5438e47e03
can: xilinx: defer the probe if clock is not found

It's not always the case that clock is already available when can
driver get probed at the first time, e.g. the clock is provided by
clock wizard which may be probed after can driver. So let's defer
the probe when devm_clk_get() call fails and give it chance to
try later.

Signed-off-by: Venkatesh Yadav Abbarapu <vabbarap@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/net/can/xilinx_can.c