Commit fad1a9ef authored by Charles Keepax's avatar Charles Keepax Committed by Mark Brown

ASoC: intel: sof_sdw: Constify parameter to find_codec_part_info

The address passed to find_codec_part_info should be const.
Reviewed-by: default avatarBard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: default avatarRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: default avatarRander Wang <rander.wang@intel.com>
Signed-off-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20230731214257.444605-15-pierre-louis.bossart@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 31a54f78
...@@ -974,7 +974,7 @@ static struct sof_sdw_codec_info codec_info_list[] = { ...@@ -974,7 +974,7 @@ static struct sof_sdw_codec_info codec_info_list[] = {
}, },
}; };
static inline int find_codec_info_part(u64 adr) static inline int find_codec_info_part(const u64 adr)
{ {
unsigned int part_id, sdw_version; unsigned int part_id, sdw_version;
int i; int i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment