mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
Slice: move linux patches to device specific directories
These patches are Slice specific hacks and should not be applied to the RPi kernels. Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
parent
172594232b
commit
3f9bc4e1a9
@ -0,0 +1,17 @@
|
||||
--- a/drivers/rtc/rtc-pcf8523.c 2016-10-01 10:16:30.259771931 +0100
|
||||
+++ b/drivers/rtc/rtc-pcf8523.c 2016-10-01 10:21:29.762638800 +0100
|
||||
@@ -291,7 +291,13 @@ static int pcf8523_probe(struct i2c_clie
|
||||
if (!pcf)
|
||||
return -ENOMEM;
|
||||
|
||||
- err = pcf8523_select_capacitance(client, true);
|
||||
+ if (of_property_read_bool(client->dev.of_node, "nxp,xtalcap-7pf")) {
|
||||
+ printk(KERN_ERR "PCF8523 - set 7pF crystal load");
|
||||
+ err = pcf8523_select_capacitance(client, false);
|
||||
+ } else {
|
||||
+ printk(KERN_ERR "PCF8523 - set 12pF crystal load");
|
||||
+ err = pcf8523_select_capacitance(client, true);
|
||||
+ }
|
||||
if (err < 0)
|
||||
return err;
|
||||
|
@ -0,0 +1,20 @@
|
||||
--- linux-4.4-rc7-old/sound/soc/codecs/cs4265.c 2016-01-13 20:56:05.637652775 +0000
|
||||
+++ linux-4.4-rc7/sound/soc/codecs/cs4265.c 2016-01-17 11:21:16.977652775 +0000
|
||||
@@ -157,7 +157,7 @@
|
||||
SOC_SINGLE("Validity Bit Control Switch", CS4265_SPDIF_CTL2,
|
||||
3, 1, 0),
|
||||
SOC_ENUM("SPDIF Mono/Stereo", spdif_mono_stereo_enum),
|
||||
- SOC_SINGLE("MMTLR Data Switch", 0,
|
||||
+ SOC_SINGLE("MMTLR Data Switch", CS4265_SPDIF_CTL2,
|
||||
1, 1, 0),
|
||||
SOC_ENUM("Mono Channel Select", spdif_mono_select_enum),
|
||||
SND_SOC_BYTES("C Data Buffer", CS4265_C_DATA_BUFF, 24),
|
||||
@@ -199,8 +199,6 @@
|
||||
SND_SOC_NOPM, 0, 0),
|
||||
SND_SOC_DAPM_AIF_IN("DIN2", NULL, 0,
|
||||
SND_SOC_NOPM, 0, 0),
|
||||
- SND_SOC_DAPM_AIF_IN("TXIN", NULL, 0,
|
||||
- CS4265_SPDIF_CTL2, 5, 1),
|
||||
|
||||
SND_SOC_DAPM_OUTPUT("LINEOUTL"),
|
||||
SND_SOC_DAPM_OUTPUT("LINEOUTR"),
|
Loading…
x
Reference in New Issue
Block a user