aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2019-10-21 10:16:34 +0100
committerLee Jones <lee.jones@linaro.org>2019-11-11 08:45:03 +0000
commitb195e101580db390f50b0d587b7f66f241d2bc88 (patch)
tree35f5a044a7379036a0bd9dce890bad2125176620 /arch
parentmfd: cs5535-mfd: Register clients using their own dedicated MFD cell entries (diff)
downloadlinux-dev-b195e101580db390f50b0d587b7f66f241d2bc88.tar.xz
linux-dev-b195e101580db390f50b0d587b7f66f241d2bc88.zip
mfd: mfd-core: Protect against NULL call-back function pointer
If a child device calls mfd_cell_{en,dis}able() without an appropriate call-back being set, we are likely to encounter a panic. Avoid this by adding suitable checking. Signed-off-by: Lee Jones <lee.jones@linaro.org> Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> Reviewed-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions