aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/au0828/au0828.h
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@kernellabs.com>2010-05-03 02:10:15 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-08-02 14:48:43 -0300
commitfab9bfbed22f91f271a93a3dfa142179a2278935 (patch)
treec2b8e9c63afa7f84380be2be9f509f2bd9314469 /drivers/media/video/au0828/au0828.h
parent4359e5b5ba3b746cd02bd3a18d576b11c0843419 (diff)
downloadkernel_samsung_smdk4412-fab9bfbed22f91f271a93a3dfa142179a2278935.zip
kernel_samsung_smdk4412-fab9bfbed22f91f271a93a3dfa142179a2278935.tar.gz
kernel_samsung_smdk4412-fab9bfbed22f91f271a93a3dfa142179a2278935.tar.bz2
V4L/DVB: tda18271: fix error detection during initialization of first instance
Fix error detection of failures during initialization of first instance: Dont pass a function into the tda_fail macro. Instead, save the function return value and pass that into the tda_fail macro. This prevents the function from being called twice in cases of failure, for example: [19026.074070] tuner 4-0060: chip found @ 0xc0 (device #0) [19026.087755] tda18271 4-0060: creating new instance [19026.089965] Unknown device detected @ 4-0060, device not supported. [19026.092233] Unknown device detected @ 4-0060, device not supported. [19026.092241] tda18271_attach: [4-0060|M] error -22 on line 1275 [19026.092327] tda18271 4-0060: destroying instance Signed-off-by: Michael Krufky <mkrufky@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/au0828/au0828.h')
0 files changed, 0 insertions, 0 deletions