diff options
author | Brad Love <brad@nextdimension.cc> | 2018-01-05 15:57:12 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-03-06 10:39:30 +0100 |
commit | 835d66173a38538c072a7c393d02360dcfac8582 (patch) | |
tree | 98c347be558b40b5574f2ee33bd504a16a3eb3fc /Kbuild | |
parent | media: lgdt3306a: Add QAM AUTO support (diff) | |
download | linux-835d66173a38538c072a7c393d02360dcfac8582.tar.xz linux-835d66173a38538c072a7c393d02360dcfac8582.zip |
media: lgdt3306a: Fix module count mismatch on usb unplug
When used as an i2c device there is a module usage count mismatch on
removal, preventing the driver from being used thereafter. dvb_attach
increments the usage count so it is properly balanced on removal.
On disconnect of Hauppauge SoloHD/DualHD before:
lsmod | grep lgdt3306a
lgdt3306a 28672 -1
i2c_mux 16384 1 lgdt3306a
On disconnect of Hauppauge SoloHD/DualHD after:
lsmod | grep lgdt3306a
lgdt3306a 28672 0
i2c_mux 16384 1 lgdt3306a
Signed-off-by: Brad Love <brad@nextdimension.cc>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions