drivers:misc: ti-st: free skb on firmware download
authorPavan Savoy <pavan_savoy@ti.com>
Wed, 10 Aug 2011 15:18:36 +0000 (10:18 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 22 Aug 2011 21:13:34 +0000 (14:13 -0700)
commit76ff0e64d42fac59fb756536342a3d3f3e4e8833
treeb59c625ae222e7c0e43c99aea19f6cedbd7f8929
parentd0344ef670d686628f369e649c86f71c90ebe222
drivers:misc: ti-st: free skb on firmware download

If during validation of the firmware download the data doesn't match what is
expected out of the chip, this calls for a firmware download failure and a
retry.
Free the SKB which collects response during such scenarios.

Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/misc/ti-st/st_kim.c