[PATCH v2] memory: mtk-smi: Handle return value of clk_prepare_enable

Joerg Roedel joro at 8bytes.org
Tue Aug 15 08:47:26 PDT 2017


On Thu, Aug 10, 2017 at 10:47:32AM +0530, Arvind Yadav wrote:
> clk_prepare_enable() can fail here and we must check its return value.
> 
> Signed-off-by: Arvind Yadav <arvind.yadav.cs at gmail.com>
> ---
> changes in v2:
>              Rebase patch[1]https://lkml.org/lkml/2017/8/3/968
>              and apply this change. Otherwise will merge conflict.
> 
>  drivers/memory/mtk-smi.c | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)

Applied, thanks.




More information about the linux-arm-kernel mailing list