]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
mfd: t7l66xb: Handle return value of clk_prepare_enable
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 8 Aug 2017 09:54:56 +0000 (15:24 +0530)
committerLee Jones <lee.jones@linaro.org>
Tue, 5 Sep 2017 07:46:01 +0000 (08:46 +0100)
commitb62d8dbe419893b7aee5fac282e1da8c811cfcfb
treede9a18bf7cb1579e047085e18ff1182a3cd6c1e5
parente10feb36c98576fd7d1f24edaf2669dbfe7df21d
mfd: t7l66xb: Handle return value of clk_prepare_enable

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@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/t7l66xb.c