mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-13 20:42:58 +02:00
kernel: cs5535audio spam the syslog with access errors.
On geos boards the cs5535 is present but the ac97 is not there.
This commit is contained in:
@@ -147,6 +147,9 @@ endif
|
||||
# Add LED trigger
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux-3.10.9-ledtrig-netdev-1.patch
|
||||
|
||||
# cs5535audio spams syslog if no ac97 was present (geos router)
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux-3.10.30_cs5535audio_fix_logspam_on_geos.patch
|
||||
|
||||
# Fix uevent PHYSDEVDRIVER
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux-3.2.33_ipg-fix-driver-name.patch
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux-2.6.32.27_mcs7830-fix-driver-name.patch
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
diff -Naur linux-3.10.30.org/sound/pci/cs5535audio/cs5535audio.c linux-3.10.30/sound/pci/cs5535audio/cs5535audio.c
|
||||
--- linux-3.10.30.org/sound/pci/cs5535audio/cs5535audio.c 2014-02-13 22:48:15.000000000 +0100
|
||||
+++ linux-3.10.30/sound/pci/cs5535audio/cs5535audio.c 2014-02-15 12:45:49.545688703 +0100
|
||||
@@ -83,8 +83,8 @@
|
||||
break;
|
||||
udelay(1);
|
||||
} while (--timeout);
|
||||
- if (!timeout)
|
||||
- snd_printk(KERN_ERR "Failure writing to cs5535 codec\n");
|
||||
+// if (!timeout)
|
||||
+// snd_printk(KERN_ERR "Failure writing to cs5535 codec\n");
|
||||
}
|
||||
|
||||
static unsigned short snd_cs5535audio_codec_read(struct cs5535audio *cs5535au,
|
||||
@@ -108,9 +108,9 @@
|
||||
break;
|
||||
udelay(1);
|
||||
} while (--timeout);
|
||||
- if (!timeout)
|
||||
- snd_printk(KERN_ERR "Failure reading codec reg 0x%x,"
|
||||
- "Last value=0x%x\n", reg, val);
|
||||
+// if (!timeout)
|
||||
+// snd_printk(KERN_ERR "Failure reading codec reg 0x%x,"
|
||||
+// "Last value=0x%x\n", reg, val);
|
||||
|
||||
return (unsigned short) val;
|
||||
}
|
||||
Reference in New Issue
Block a user