ASoC: cs35l56: Initialise a variable to silence possible static analysis error
authorSimon Trimmer <simont@opensource.cirrus.com>
Wed, 4 Oct 2023 14:42:03 +0000 (15:42 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 4 Oct 2023 15:09:15 +0000 (16:09 +0100)
commitc98a0a83dccd19283da34a298876d26c7f06750f
treef910e56c690fa9a179355dfa12f2301c66f05cde
parent80e698e2df5ba2124bdeca37f1e589de58a4d514
ASoC: cs35l56: Initialise a variable to silence possible static analysis error

read_poll_timeout() is a macro and val will be populated before use,
however some static analysis tools treat it as a function and warn of
uninitialised variable usage.

Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20231004144203.151775-1-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs35l56-shared.c