]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: cs35l45: Corrects cs35l45_get_clk_freq_id function data type
authorRicardo Rivera-Matos <rriveram@opensource.cirrus.com>
Thu, 19 Sep 2024 15:16:52 +0000 (15:16 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 19 Sep 2024 15:27:15 +0000 (17:27 +0200)
commit01e709aeaf913a4d0e04f9957d399cf6fc3b5455
treeddc84f31b8bb3477768b27fdd04698baab57784e
parent85109780543b5100aba1d0842b6a7c3142be74d2
ASoC: cs35l45: Corrects cs35l45_get_clk_freq_id function data type

Changes cs35l45_get_clk_freq_id() function data type from unsigned int
to int. This function is returns a positive index value if successful
or a negative error code if unsuccessful.

Functionally there should be no difference as long as the unsigned int
return is interpreted as an int, however it should be corrected for
readability.

Signed-off-by: Ricardo Rivera-Matos <rriveram@opensource.cirrus.com>
Link: https://patch.msgid.link/20240919151654.197337-1-rriveram@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs35l45-tables.c
sound/soc/codecs/cs35l45.h