diff options
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2020-01-24 12:53:32 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-02-24 15:04:34 +0100 |
commit | 34a818882e2f84704059dead1f02eb8943e222c3 (patch) | |
tree | c9a9553a4f4497658bd0e7c4623b3b860e04ae6f /drivers/mtd | |
parent | Linux 5.6-rc1 (diff) | |
download | linux-34a818882e2f84704059dead1f02eb8943e222c3.tar.xz linux-34a818882e2f84704059dead1f02eb8943e222c3.zip |
media: pulse8-cec: INIT_DELAYED_WORK was called too late
If earlier in the connect() an error occurred, then pulse8_cec_adap_free
was called by cec_delete_adapter, and that free function tried to
cancel the ping_eeprom_work workqueue, but that workqueue hasn't
been initialized yet, resulting in a kernel warning.
Move the initialization of that workqueue up to where the other
workqueues are initialized.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Fixes: 601282d65b96 ("media: pulse8-cec: use adap_free callback")
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions