diff options
author | Daniel Scheller <d.scheller@gmx.net> | 2017-12-17 16:40:43 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-12-19 13:16:23 +0100 |
commit | fac37bb124c221bde55ae77fbf8c7eff84881bda (patch) | |
tree | 578f9146a2f7519a3a4541ca0b9bf45e542c137d /drivers/mtd/devices | |
parent | media: ddbridge: unregister I2C tuner client before detaching fe's (diff) | |
download | linux-fac37bb124c221bde55ae77fbf8c7eff84881bda.tar.xz linux-fac37bb124c221bde55ae77fbf8c7eff84881bda.zip |
media: ddbridge: fix resources cleanup for CI hardware
Do kfree() on port->en->data instead of port->en. port->en only holds a
ptr to a struct dvb_ca_en50221, which is a member either of a memalloc'ed
struct ddb_ci (DuoFlex CI, Octopus CI Duo) or a struct cxd (CXD2099AR
based Single Flex, allocated by the cxd2099 driver). port->en.data
though holds the ptr to the allocated memory, which must rather be
kfree()'d. Change this accordingly.
Cc: Ralph Metzler <rjkm@metzlerbros.de>
Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/mtd/devices')
0 files changed, 0 insertions, 0 deletions