From f07e572f6447465d8938679533d604e402b0f066 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Thu, 18 Feb 2021 18:04:33 +0100 Subject: bcm27xx: import latest patches from the RPi foundation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit bcm2708: boot tested on RPi B+ v1.2 bcm2709: boot tested on RPi 3B v1.2 and RPi 4B v1.1 4G bcm2710: boot tested on RPi 3B v1.2 bcm2711: boot tested on RPi 4B v1.1 4G Signed-off-by: Álvaro Fernández Rojas --- ...o-5713-pdf-doc-CLOCK_CTRL-is-a-readonly-s.patch | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 target/linux/bcm27xx/patches-5.4/950-0271-According-to-5713-pdf-doc-CLOCK_CTRL-is-a-readonly-s.patch (limited to 'target/linux/bcm27xx/patches-5.4/950-0271-According-to-5713-pdf-doc-CLOCK_CTRL-is-a-readonly-s.patch') diff --git a/target/linux/bcm27xx/patches-5.4/950-0271-According-to-5713-pdf-doc-CLOCK_CTRL-is-a-readonly-s.patch b/target/linux/bcm27xx/patches-5.4/950-0271-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-0271-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 +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; -- cgit v1.2.3