Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 18687
b: refs/heads/master
c: 7d83e84
h: refs/heads/master
i:
  18685: f8a9e92
  18683: 41a773f
  18679: 68b2f42
  18671: a964f57
  18655: 86efbff
  18623: 45c7aa2
  18559: 816e24d
  18431: 6570ea6
v: v3
  • Loading branch information
Panagiotis Christeas authored and Mauro Carvalho Chehab committed Jan 15, 2006
1 parent 0a2877e commit f6446ab
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a9cff90ed9a23e9f73963fe73b71ef7e5de3e822
refs/heads/master: 7d83e8431ae531e907f09c277ab4ab4620092518
8 changes: 7 additions & 1 deletion trunk/drivers/media/video/cx88/cx88-tvaudio.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ static unsigned int audio_debug = 0;
module_param(audio_debug, int, 0644);
MODULE_PARM_DESC(audio_debug, "enable debug messages [audio]");

static unsigned int always_analog = 0;
module_param(always_analog,int,0644);
MODULE_PARM_DESC(always_analog,"force analog audio out");


#define dprintk(fmt, arg...) if (audio_debug) \
printk(KERN_DEBUG "%s/0: " fmt, core->name , ## arg)

Expand Down Expand Up @@ -155,7 +160,8 @@ static void set_audio_finish(struct cx88_core *core, u32 ctl)
cx_write(AUD_I2SOUTPUTCNTL, 1);
cx_write(AUD_I2SCNTL, 0);
/* cx_write(AUD_APB_IN_RATE_ADJ, 0); */
} else {
}
if ((always_analog) || (!cx88_boards[core->board].blackbird)) {
ctl |= EN_DAC_ENABLE;
cx_write(AUD_CTL, ctl);
}
Expand Down

0 comments on commit f6446ab

Please sign in to comment.