| From 90ad6a29809dc53e8c1af23fc51bafe2133da035 Mon Sep 17 00:00:00 2001 |
| From: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> |
| Date: Wed, 5 Aug 2026 12:02:27 +0300 |
| Subject: ASoC: rt700: drop duplicate reg_default entry |
| |
| From: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> |
| |
| commit 90ad6a29809dc53e8c1af23fc51bafe2133da035 upstream. |
| |
| rt700_reg_defaults[] lists register 0x7303 twice with the same value. The |
| identical rt711 table has the entry only once, so this is a copy-paste |
| error. |
| |
| Drop the duplicate. No functional change, regcache_lookup_reg() only ever |
| finds one of the two entries. |
| |
| Fixes: 7d2a5f9ae41e ("ASoC: rt700: add rt700 codec driver") |
| Cc: stable@vger.kernel.org |
| Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> |
| Link: https://patch.msgid.link/20260805090240.16991-5-peter.ujfalusi@linux.intel.com |
| Signed-off-by: Mark Brown <broonie@kernel.org> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| --- |
| sound/soc/codecs/rt700-sdw.h | 1 - |
| 1 file changed, 1 deletion(-) |
| |
| --- a/sound/soc/codecs/rt700-sdw.h |
| +++ b/sound/soc/codecs/rt700-sdw.h |
| @@ -313,7 +313,6 @@ static const struct reg_default rt700_re |
| { 0x3122, 0x0000 }, |
| { 0x3123, 0x0000 }, |
| { 0x7303, 0x0057 }, |
| - { 0x7303, 0x0057 }, |
| { 0x8383, 0x0057 }, |
| { 0x7308, 0x0097 }, |
| { 0x8388, 0x0097 }, |