Skip to contentSkip to conversation

tda8290 enable deemphasis_50 module parameter.

PATCH In review [email protected] 2 participants 2 messages Sep 22, 2009 – Sep 24, 2009 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 3/4 tda8290 enable deemphasis_50 module parameter.

This adds a forgotten module_param macro needed to set a deemphasis of 50us. It is the standard setting for commercial FM radio broadcasts outside the US.

Signed-off-by [email protected]
linux/drivers/media/common/tuners/tda8290.c +1 -0
diff -r 29e4ba1a09bc linux/drivers/media/common/tuners/tda8290.c
@@ -34,6 +34,7 @@
 MODULE_PARM_DESC(debug, "enable verbose debug messages");
 
 static int deemphasis_50;
+module_param(deemphasis_50, int, 0644);
 MODULE_PARM_DESC(deemphasis_50, "0 - 75us deemphasis; 1 - 50us deemphasis");
 
 /* ---------------------------------------------------------------------- */
Reviewed-by on v1 3/4
#1 lore raw
Quoted 11 lines · On Tue, Sep 22, 2009 at 5:07 PM, <[email protected]> wrote:

This adds a forgotten module_param macro needed to set a deemphasis of 50us. It is the standard setting for commercial FM radio broadcasts outside the US.

Signed-off-by [email protected]

diff -r 29e4ba1a09bc linux/drivers/media/common/tuners/tda8290.c

linux/drivers/media/common/tuners/tda8290.c       Tue Sep 22 22:06:31 2009 +0200 line 40

Quoted 7 lines
linux/drivers/media/common/tuners/tda8290.c       Tue Sep 22 22:06:31 2009 +0200 renamed from linux/drivers/media/common/tuners/tda8290.c       Sat Sep 19 09:45:22 2009 -0300 +1 -0
@@ -34,6 +34,7 @@
  MODULE_PARM_DESC(debug, "enable verbose debug messages");
 
  static int deemphasis_50;
+module_param(deemphasis_50, int, 0644);
  MODULE_PARM_DESC(deemphasis_50, "0 - 75us deemphasis; 1 - 50us deemphasis");
 
  /* ---------------------------------------------------------------------- */

Mauro, this patch is OK to merge ASAP -- if it's not merged already by the time I have the tda18271 fixes ready, then I'll send this to you in the same pull request.

Thanks for this fix, Henk.

Regards,

Mike Krufky