From: Daeseok Youn Date: Mon, 2 Jun 2014 05:07:46 +0000 (+0900) Subject: staging: dgap: unwind on error in dgap_tty_init() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~1895 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=551a9d73942b0ffa6cb9fe3bb35936dcc7172281;p=pandora-kernel.git staging: dgap: unwind on error in dgap_tty_init() If the kzalloc() fails for channels, it need to handle that error. It should free channels which were already allocated. And also removes the call to dgap_tty_uninit() in dgap_firmware_load(). Signed-off-by: Daeseok Youn Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed