upstream: em28xx-alsa: Fix error patch for init/fini
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 14 Jan 2014 16:49:04 +0000 (14:49 -0200)
committerChanho Park <chanho61.park@samsung.com>
Thu, 7 Aug 2014 05:26:44 +0000 (14:26 +0900)
commit583ddb231dffd1479dcad07246329586142ce9a6
tree36d420821d01fade98955cb0178af65e5785f404
parentcb5796e759a4439125486d480c5b9f9fb1076364
upstream: em28xx-alsa: Fix error patch for init/fini

If something bad happens during init, we free the card data.
However, we still keep it initialized, causing some dependent
code to be called at .fini.

Fix it.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/em28xx/em28xx-audio.c