From: Ben Hutchings Date: Tue, 15 May 2012 00:36:00 +0000 (-0300) Subject: [media] rc: Fix invalid free_region and/or free_irq on probe failure X-Git-Tag: v3.5-rc1~104^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f27b853ea24a9b70585f9251384d97929e6551c3;p=pandora-kernel.git [media] rc: Fix invalid free_region and/or free_irq on probe failure fintek-cir, ite-cir and nuvoton-cir may try to free an I/O region and/or IRQ handler that was never allocated after a failure in their respective probe functions. Add and use separate labels on the failure path so they will do the right cleanup after each possible point of failure. Compile-tested only. Signed-off-by: Ben Hutchings Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed