]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: stm: fix macro definition on STM_SAI_HAS_EXT_SYNC
authorHongbo Li <lihongbo22@huawei.com>
Wed, 21 Aug 2024 07:08:15 +0000 (15:08 +0800)
committerMark Brown <broonie@kernel.org>
Sun, 29 Sep 2024 23:09:54 +0000 (01:09 +0200)
commit7a01e17e42fe944982acde1dd40bdea177372173
tree7172fb03f3c4ef612a625641ee774a4bc315c717
parent2f12d0de77b99f0f35755d16efeb12e6f45e5710
ASoC: stm: fix macro definition on STM_SAI_HAS_EXT_SYNC

The macro STM_SAI_HAS_EXT_SYNC accepts a parameter x, but
it was not used, rather the variable sai was directly used,
which may be a local variable inside a function that calls
the macros.

Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
Link: https://patch.msgid.link/20240821070815.2326534-6-lihongbo22@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/stm/stm32_sai_sub.c