staging: msm: tvenc: fix error handling
authorVasiliy Kulikov <segoon@openwall.com>
Fri, 26 Nov 2010 17:06:53 +0000 (20:06 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 29 Nov 2010 19:38:50 +0000 (11:38 -0800)
commit280740a9016db986758db811bbc998acc79e5551
tree79176e350dc05d31a85cb90df09ae58ead3f8a0f
parent8956110dbbb75773d851854e6e11cd8428fce71a
staging: msm: tvenc: fix error handling

Driver init() function should return error code.
Also fix tvenc_clk leak.

Signed-off-by: Vasiliy Kulikov <segoon@openwall.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/msm/tvenc.c