summaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2019-10-21 10:16:34 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-10-01 13:14:26 +0200
commit66bde9c7f036cf7e6c36ec16f90f354df3e779ab (patch)
tree2c375ce2cdc25f3c966ed03dc64eee7de7fd79c3 /drivers/gpu
parent6edb956e3c9d7b6936a236b1647b1a1ea993ea5d (diff)
mfd: mfd-core: Protect against NULL call-back function pointer
[ Upstream commit b195e101580db390f50b0d587b7f66f241d2bc88 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpu')
0 files changed, 0 insertions, 0 deletions