diff options
Diffstat (limited to 'target/linux/bcm27xx/patches-5.4/950-0274-According-to-5713-pdf-doc-CLOCK_CTRL-is-a-readonly-s.patch')
-rw-r--r-- | target/linux/bcm27xx/patches-5.4/950-0274-According-to-5713-pdf-doc-CLOCK_CTRL-is-a-readonly-s.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/target/linux/bcm27xx/patches-5.4/950-0274-According-to-5713-pdf-doc-CLOCK_CTRL-is-a-readonly-s.patch b/target/linux/bcm27xx/patches-5.4/950-0274-According-to-5713-pdf-doc-CLOCK_CTRL-is-a-readonly-s.patch new file mode 100644 index 0000000000..267725d3ef --- /dev/null +++ b/target/linux/bcm27xx/patches-5.4/950-0274-According-to-5713-pdf-doc-CLOCK_CTRL-is-a-readonly-s.patch @@ -0,0 +1,31 @@ +From 638f29943041f9205486a03587b7bd9e64799b2a Mon Sep 17 00:00:00 2001 +From: Hermann Lauer <hlauer@seba.iwr.uni-heidelberg.de> +Date: Thu, 8 Aug 2019 15:40:37 +0200 +Subject: [PATCH] According to 5713 pdf doc CLOCK_CTRL is a readonly + status register, and it behaves so. Remove useless setting + +--- + sound/soc/codecs/tas5713.c | 5 +---- + 1 file changed, 1 insertion(+), 4 deletions(-) + +--- a/sound/soc/codecs/tas5713.c ++++ b/sound/soc/codecs/tas5713.c +@@ -190,10 +190,6 @@ static int tas5713_probe(struct snd_soc_ + ret = snd_soc_component_write(component, TAS5713_ERROR_STATUS, 0x00); + if (ret < 0) return ret; + +- // Clock mode: 44/48kHz, MCLK=64xfs +- ret = snd_soc_component_write(component, TAS5713_CLOCK_CTRL, 0x60); +- if (ret < 0) return ret; +- + // I2S 24bit + ret = snd_soc_component_write(component, TAS5713_SERIAL_DATA_INTERFACE, 0x05); + if (ret < 0) return ret; +@@ -257,6 +253,7 @@ static bool tas5713_reg_volatile(struct + switch (reg) { + case TAS5713_DEVICE_ID: + case TAS5713_ERROR_STATUS: ++ case TAS5713_CLOCK_CTRL: + return true; + default: + return false; |