mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-06 22:55:11 +00:00
[ALSA] intel8x0 - Disable ALI5455 SPDIF-input
Disable the SPDIF-input on ALI5455, which causes Oops. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
8263c65fbe
commit
1a183131fe
1 changed files with 3 additions and 3 deletions
|
@ -1293,6 +1293,7 @@ static int snd_intel8x0_ali_ac97spdifout_close(struct snd_pcm_substream *substre
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0 // NYI
|
||||||
static int snd_intel8x0_ali_spdifin_open(struct snd_pcm_substream *substream)
|
static int snd_intel8x0_ali_spdifin_open(struct snd_pcm_substream *substream)
|
||||||
{
|
{
|
||||||
struct intel8x0 *chip = snd_pcm_substream_chip(substream);
|
struct intel8x0 *chip = snd_pcm_substream_chip(substream);
|
||||||
|
@ -1308,7 +1309,6 @@ static int snd_intel8x0_ali_spdifin_close(struct snd_pcm_substream *substream)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0 // NYI
|
|
||||||
static int snd_intel8x0_ali_spdifout_open(struct snd_pcm_substream *substream)
|
static int snd_intel8x0_ali_spdifout_open(struct snd_pcm_substream *substream)
|
||||||
{
|
{
|
||||||
struct intel8x0 *chip = snd_pcm_substream_chip(substream);
|
struct intel8x0 *chip = snd_pcm_substream_chip(substream);
|
||||||
|
@ -1435,6 +1435,7 @@ static struct snd_pcm_ops snd_intel8x0_ali_ac97spdifout_ops = {
|
||||||
.pointer = snd_intel8x0_pcm_pointer,
|
.pointer = snd_intel8x0_pcm_pointer,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if 0 // NYI
|
||||||
static struct snd_pcm_ops snd_intel8x0_ali_spdifin_ops = {
|
static struct snd_pcm_ops snd_intel8x0_ali_spdifin_ops = {
|
||||||
.open = snd_intel8x0_ali_spdifin_open,
|
.open = snd_intel8x0_ali_spdifin_open,
|
||||||
.close = snd_intel8x0_ali_spdifin_close,
|
.close = snd_intel8x0_ali_spdifin_close,
|
||||||
|
@ -1446,7 +1447,6 @@ static struct snd_pcm_ops snd_intel8x0_ali_spdifin_ops = {
|
||||||
.pointer = snd_intel8x0_pcm_pointer,
|
.pointer = snd_intel8x0_pcm_pointer,
|
||||||
};
|
};
|
||||||
|
|
||||||
#if 0 // NYI
|
|
||||||
static struct snd_pcm_ops snd_intel8x0_ali_spdifout_ops = {
|
static struct snd_pcm_ops snd_intel8x0_ali_spdifout_ops = {
|
||||||
.open = snd_intel8x0_ali_spdifout_open,
|
.open = snd_intel8x0_ali_spdifout_open,
|
||||||
.close = snd_intel8x0_ali_spdifout_close,
|
.close = snd_intel8x0_ali_spdifout_close,
|
||||||
|
@ -1582,7 +1582,7 @@ static struct ich_pcm_table ali_pcms[] __devinitdata = {
|
||||||
{
|
{
|
||||||
.suffix = "IEC958",
|
.suffix = "IEC958",
|
||||||
.playback_ops = &snd_intel8x0_ali_ac97spdifout_ops,
|
.playback_ops = &snd_intel8x0_ali_ac97spdifout_ops,
|
||||||
.capture_ops = &snd_intel8x0_ali_spdifin_ops,
|
/* .capture_ops = &snd_intel8x0_ali_spdifin_ops, */
|
||||||
.prealloc_size = 64 * 1024,
|
.prealloc_size = 64 * 1024,
|
||||||
.prealloc_max_size = 128 * 1024,
|
.prealloc_max_size = 128 * 1024,
|
||||||
.ac97_idx = ALID_AC97SPDIFOUT,
|
.ac97_idx = ALID_AC97SPDIFOUT,
|
||||||
|
|
Loading…
Add table
Reference in a new issue