]> git.ipfire.org Git - thirdparty/linux.git/commit
ASoC: SOF: sof-client: Convert sof_client_dev_to_sof_dev into function
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Fri, 29 Aug 2025 10:25:09 +0000 (13:25 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 29 Aug 2025 11:34:25 +0000 (13:34 +0200)
commit850c5dfb17b381f30c4052a68c43da5abc678e74
tree5cb3eed79dec6649485ad549907ced9e67c713ae
parent1b237f190eb3d36f52dffe07a40b5eb210280e00
ASoC: SOF: sof-client: Convert sof_client_dev_to_sof_dev into function

Remove the sof_client_dev_to_sof_dev() from the header file and add it as
a function in sof-client.c to avoid it's use by client drivers.

At the same time mark the sdev and list of sof_client_dev as restricted
fro core use only.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Message-ID: <20250829102510.15159-2-peter.ujfalusi@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/sof-client.c
sound/soc/sof/sof-client.h
sound/soc/sof/sof-priv.h