Browse Source

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>
Oliver Endriss 16 years ago
parent
commit
e76ef13352
1 changed files with 0 additions and 2 deletions
  1. 0 2
      drivers/media/dvb/ttpci/av7110_av.c

+ 0 - 2
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;
 }