aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/ttpci
diff options
context:
space:
mode:
authorOliver Endriss <o.endriss@gmx.de>2009-04-29 22:09:44 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 17:21:02 -0400
commite76ef133522df8ad566d3e176a363ed006ff6829 (patch)
treeb44d4c5c19f986cfb013213add068aba8c86362f /drivers/media/dvb/ttpci
parent452dac4550f757ef263c324d967414aa6c6122d7 (diff)
V4L/DVB (11762): dvb-ttpci: Fixed return code of av7110_av_start_play
av7110_av_start_play() should return 0 on success. Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/ttpci')
-rw-r--r--drivers/media/dvb/ttpci/av7110_av.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/dvb/ttpci/av7110_av.c b/drivers/media/dvb/ttpci/av7110_av.c
index 7b93ab9dc689..a5ad9b0be9f9 100644
--- a/drivers/media/dvb/ttpci/av7110_av.c
+++ b/drivers/media/dvb/ttpci/av7110_av.c
@@ -193,8 +193,6 @@ int av7110_av_start_play(struct av7110 *av7110, int av)
193 ret = av7110_fw_cmd(av7110, COMTYPE_REC_PLAY, __Play, 2, AV_PES, 0); 193 ret = av7110_fw_cmd(av7110, COMTYPE_REC_PLAY, __Play, 2, AV_PES, 0);
194 break; 194 break;
195 } 195 }
196 if (!ret)
197 ret = av7110->playing;
198 return ret; 196 return ret;
199} 197}
200 198