Re: [PATCH v2] tty: xilinx_uartps: Correct return value in probe

2019-03-06 Thread Michal Simek
On 01. 03. 19 10:37, Rajan Vaja wrote: > Existing driver checks for alternate clock if devm_clk_get() fails > and returns error code for last clock failure. If xilinx_uartps is > called before clock driver, devm_clk_get() returns -EPROBE_DEFER. > In this case, probe should not check for alternate

[PATCH v2] tty: xilinx_uartps: Correct return value in probe

2019-03-01 Thread Rajan Vaja
Existing driver checks for alternate clock if devm_clk_get() fails and returns error code for last clock failure. If xilinx_uartps is called before clock driver, devm_clk_get() returns -EPROBE_DEFER. In this case, probe should not check for alternate clock as main clock is already present in DTS