summaryrefslogtreecommitdiff
path: root/fs/xfs
diff options
context:
space:
mode:
authorDariusz Marcinkiewicz <darekm@google.com>2020-06-22 14:46:36 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-08-19 09:16:10 +0300
commitdeaf69f5b028b926a0a0b85913de974cdebbe824 (patch)
tree1f4f020d7fc68536a1fcf37b6933db17c60d5d4f /fs/xfs
parent951a2126157729fed13f942b6a7f106d96ab8b5c (diff)
downloadlinux-deaf69f5b028b926a0a0b85913de974cdebbe824.tar.xz
media: cros-ec-cec: do not bail on device_init_wakeup failure
[ Upstream commit 6f01dfb760c027d5dd6199d91ee9599f2676b5c6 ] Do not fail probing when device_init_wakeup fails. device_init_wakeup fails when the device is already enabled as wakeup device. Hence, the driver fails to probe the device if: - The device has already been enabled for wakeup (by e.g. sysfs) - The driver has been unloaded and is being loaded again. This goal of the patch is to fix the above cases. Overwhelming majority of the drivers do not check device_init_wakeup return code. Fixes: cd70de2d356ee ("media: platform: Add ChromeOS EC CEC driver") Signed-off-by: Dariusz Marcinkiewicz <darekm@google.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/xfs')
0 files changed, 0 insertions, 0 deletions