From: Johan Hovold Date: Mon, 13 Mar 2017 12:53:57 +0000 (-0300) Subject: cx231xx-audio: fix init error path X-Git-Tag: v3.2.92~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=239a2faa42fafdc4a7dbc5a161b7c3b4f54f09ca;p=pandora-kernel.git 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 Signed-off-by: Johan Hovold Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab [bwh: Backported to 3.2: adjust filename, context] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed