diff options
author | Hans Verkuil | 2020-01-24 15:52:38 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab | 2020-02-24 15:05:14 +0100 |
commit | aa9eda76129c9f44c4dd7e233b04bc70c0f56e12 (patch) | |
tree | a9e8aca97d564396163b5eae4eba662a46634885 /drivers/siox | |
parent | 34a818882e2f84704059dead1f02eb8943e222c3 (diff) |
media: pulse8-cec: close serio in disconnect, not adap_free
The serio_close() call was moved to pulse8_cec_adap_free(),
but that can be too late if that is called after the serio
core pulled down the serio already, in which case you get
a kernel oops.
Keep it in the disconnect().
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/siox')
0 files changed, 0 insertions, 0 deletions