diff options
author | Johan Hovold <johan@kernel.org> | 2017-03-13 12:53:57 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-25 13:44:42 (GMT) |
commit | 1b24b8c070230d4a539063ca3291233fa0cd80a6 (patch) | |
tree | 80af672751c77d81bfaa9626eaaa8ceae5373fe3 /block/blk-lib.c | |
parent | 40616929f87e1bb236f5daa0dffa3a95553ac76a (diff) | |
download | linux-1b24b8c070230d4a539063ca3291233fa0cd80a6.tar.xz |
cx231xx-audio: fix init error path
commit fff1abc4d54e469140a699612b4db8d6397bfcba upstream.
Make sure to release the snd_card also on a late allocation error.
Fixes: e0d3bafd0258 ("V4L/DVB (10954): Add cx231xx USB driver")
Cc: Sri Deevi <Srinivasa.Deevi@conexant.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block/blk-lib.c')
0 files changed, 0 insertions, 0 deletions