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>
This commit is contained in:
Hongbo Li 2024-08-21 15:08:15 +08:00 • committed by Mark Brown
commit 7a01e17e42
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0