aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Endriss <o.endriss@gmx.de>2009-04-29 23:09:44 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 18:21:02 -0300
commite76ef133522df8ad566d3e176a363ed006ff6829 (patch)
treeb44d4c5c19f986cfb013213add068aba8c86362f
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>
-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 7b93ab9dc68..a5ad9b0be9f 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;
}