summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/ttpci
diff options
context:
space:
mode:
authorOliver Endriss <o.endriss@gmx.de>2009-04-30 02:09:44 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 21:21:02 (GMT)
commite76ef133522df8ad566d3e176a363ed006ff6829 (patch)
treeb44d4c5c19f986cfb013213add068aba8c86362f /drivers/media/dvb/ttpci
parent452dac4550f757ef263c324d967414aa6c6122d7 (diff)
downloadlinux-e76ef133522df8ad566d3e176a363ed006ff6829.tar.xz
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 7b93ab9..a5ad9b0 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)
ret = av7110_fw_cmd(av7110, COMTYPE_REC_PLAY, __Play, 2, AV_PES, 0);
break;
}
- if (!ret)
- ret = av7110->playing;
return ret;
}