]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm_adsp: Remove pointless string comparison
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Sat, 26 Jun 2021 15:59:41 +0000 (16:59 +0100)
committerMark Brown <broonie@kernel.org>
Sun, 11 Jul 2021 22:48:37 +0000 (23:48 +0100)
commit7aa21cb91ef7b59251acf68de8717f54e042035b
tree3f75f969f7e72dc89425b1e4789284730ab81ffd
parente238c5bd4c757af9ed237d65512b245bcb8f00c0
ASoC: wm_adsp: Remove pointless string comparison

The control fw_name is always directly assigned from the wm_adsp_fw_text
array, so it isn't necessary to compare the actual strings just the
pointer values.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20210626155941.12251-3-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c