From: Oliver Endriss Date: Thu, 30 Apr 2009 02:09:44 +0000 (-0300) Subject: V4L/DVB (11762): dvb-ttpci: Fixed return code of av7110_av_start_play X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=e76ef133522df8ad566d3e176a363ed006ff6829;p=deliverable%2Flinux.git 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 Signed-off-by: Mauro Carvalho Chehab --- 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) ret = av7110_fw_cmd(av7110, COMTYPE_REC_PLAY, __Play, 2, AV_PES, 0); break; } - if (!ret) - ret = av7110->playing; return ret; }