diff options
author | Michael Tretter <m.tretter@pengutronix.de> | 2021-09-08 16:03:11 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-10-20 17:52:50 +0300 |
commit | dacc21d638c427a53448d91bd976ee6762822911 (patch) | |
tree | df45b6d6e0040e9b237474bd7f7a04232040a7bf /include/vdso | |
parent | 1ecda6393db4be44aba27a243e648dc98c9b92e3 (diff) | |
download | linux-dacc21d638c427a53448d91bd976ee6762822911.tar.xz |
media: allegro: fix module removal if initialization failed
If the module probe finished, but the firmware initialization failed,
removing the module must not revert the firmware initialization.
Add a field to track the status of the firmware initialization and only
roll it back, if the firmware was successfully initialized.
Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'include/vdso')
0 files changed, 0 insertions, 0 deletions