Re: [PATCH] mfd: t7l66xb: Handle return value of clk_prepare_enable

From: Lee Jones
Date: Mon Aug 21 2017 - 03:45:20 EST


On Tue, 08 Aug 2017, Arvind Yadav wrote:

> clk_prepare_enable() can fail here and we must check its return value.
> we must disable clock, if t7l66xb_probe is not successful.
>
> Signed-off-by: Arvind Yadav <arvind.yadav.cs@xxxxxxxxx>
> ---
> drivers/mfd/t7l66xb.c | 17 ++++++++++++++---
> 1 file changed, 14 insertions(+), 3 deletions(-)

Applied, thanks.

--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog