Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: INVERSION_AUTO used by latest scan breaks grundig_29504-401fe



- The grundig_29504-401 apply_frontend_param() aborts and returns "-EINVAL" if the application tries to set INVERSION_AUTO, but the ioctl code which calls this function just ignores the return code.

A single line change fixes this.

	Jon



Index: grundig_29504-401.c
===================================================================
RCS file: /cvs/linuxtv/DVB/driver/frontends/grundig_29504-401.c,v
retrieving revision 1.10
diff -u -w -r1.10 grundig_29504-401.c
--- grundig_29504-401.c	4 Jun 2003 12:52:52 -0000	1.10
+++ grundig_29504-401.c	9 Jun 2003 18:05:14 -0000
@@ -398,7 +398,7 @@
 		struct dvb_frontend_parameters *p = arg;
 
 		tsa5060_set_tv_freq (i2c, p->frequency);
-		apply_frontend_param (i2c, p);
+		return apply_frontend_param (i2c, p);
 	}
         case FE_GET_FRONTEND:
 		/*  we could correct the frequency here, but...

Home | Main Index | Thread Index