/openbmc/linux/sound/soc/meson/ |
H A D | aiu.h | diff 933f98be60a7b9c287acb081fb5d6659dd5e0441 Sun Feb 21 09:30:24 CST 2021 Krzysztof Kozlowski <krzk@kernel.org> ASoC: constify of_phandle_args in snd_soc_get_dai_name()
The pointer to of_phandle_args passed to snd_soc_get_dai_name() and of_xlate_dai_name() implementations is not modified. Since it is being used only to translate passed OF node to a DAI name, it should not be modified, so mark it as const for correctness and safer code.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20210221153024.453583-1-krzk@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
|
H A D | aiu-acodec-ctrl.c | diff 933f98be60a7b9c287acb081fb5d6659dd5e0441 Sun Feb 21 09:30:24 CST 2021 Krzysztof Kozlowski <krzk@kernel.org> ASoC: constify of_phandle_args in snd_soc_get_dai_name()
The pointer to of_phandle_args passed to snd_soc_get_dai_name() and of_xlate_dai_name() implementations is not modified. Since it is being used only to translate passed OF node to a DAI name, it should not be modified, so mark it as const for correctness and safer code.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20210221153024.453583-1-krzk@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
|
H A D | aiu-codec-ctrl.c | diff 933f98be60a7b9c287acb081fb5d6659dd5e0441 Sun Feb 21 09:30:24 CST 2021 Krzysztof Kozlowski <krzk@kernel.org> ASoC: constify of_phandle_args in snd_soc_get_dai_name()
The pointer to of_phandle_args passed to snd_soc_get_dai_name() and of_xlate_dai_name() implementations is not modified. Since it is being used only to translate passed OF node to a DAI name, it should not be modified, so mark it as const for correctness and safer code.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20210221153024.453583-1-krzk@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
|
H A D | aiu.c | diff 933f98be60a7b9c287acb081fb5d6659dd5e0441 Sun Feb 21 09:30:24 CST 2021 Krzysztof Kozlowski <krzk@kernel.org> ASoC: constify of_phandle_args in snd_soc_get_dai_name()
The pointer to of_phandle_args passed to snd_soc_get_dai_name() and of_xlate_dai_name() implementations is not modified. Since it is being used only to translate passed OF node to a DAI name, it should not be modified, so mark it as const for correctness and safer code.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20210221153024.453583-1-krzk@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
|
/openbmc/linux/sound/soc/qcom/qdsp6/ |
H A D | q6afe-dai.c | diff 933f98be60a7b9c287acb081fb5d6659dd5e0441 Sun Feb 21 09:30:24 CST 2021 Krzysztof Kozlowski <krzk@kernel.org> ASoC: constify of_phandle_args in snd_soc_get_dai_name()
The pointer to of_phandle_args passed to snd_soc_get_dai_name() and of_xlate_dai_name() implementations is not modified. Since it is being used only to translate passed OF node to a DAI name, it should not be modified, so mark it as const for correctness and safer code.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20210221153024.453583-1-krzk@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
|
/openbmc/linux/include/sound/ |
H A D | soc-component.h | diff 933f98be60a7b9c287acb081fb5d6659dd5e0441 Sun Feb 21 09:30:24 CST 2021 Krzysztof Kozlowski <krzk@kernel.org> ASoC: constify of_phandle_args in snd_soc_get_dai_name()
The pointer to of_phandle_args passed to snd_soc_get_dai_name() and of_xlate_dai_name() implementations is not modified. Since it is being used only to translate passed OF node to a DAI name, it should not be modified, so mark it as const for correctness and safer code.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20210221153024.453583-1-krzk@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
|
H A D | soc.h | diff 933f98be60a7b9c287acb081fb5d6659dd5e0441 Sun Feb 21 09:30:24 CST 2021 Krzysztof Kozlowski <krzk@kernel.org> ASoC: constify of_phandle_args in snd_soc_get_dai_name()
The pointer to of_phandle_args passed to snd_soc_get_dai_name() and of_xlate_dai_name() implementations is not modified. Since it is being used only to translate passed OF node to a DAI name, it should not be modified, so mark it as const for correctness and safer code.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20210221153024.453583-1-krzk@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
|
/openbmc/linux/sound/soc/ |
H A D | soc-component.c | diff 933f98be60a7b9c287acb081fb5d6659dd5e0441 Sun Feb 21 09:30:24 CST 2021 Krzysztof Kozlowski <krzk@kernel.org> ASoC: constify of_phandle_args in snd_soc_get_dai_name()
The pointer to of_phandle_args passed to snd_soc_get_dai_name() and of_xlate_dai_name() implementations is not modified. Since it is being used only to translate passed OF node to a DAI name, it should not be modified, so mark it as const for correctness and safer code.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20210221153024.453583-1-krzk@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
|
H A D | soc-core.c | diff 933f98be60a7b9c287acb081fb5d6659dd5e0441 Sun Feb 21 09:30:24 CST 2021 Krzysztof Kozlowski <krzk@kernel.org> ASoC: constify of_phandle_args in snd_soc_get_dai_name()
The pointer to of_phandle_args passed to snd_soc_get_dai_name() and of_xlate_dai_name() implementations is not modified. Since it is being used only to translate passed OF node to a DAI name, it should not be modified, so mark it as const for correctness and safer code.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20210221153024.453583-1-krzk@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
|
/openbmc/linux/sound/soc/qcom/ |
H A D | lpass-cpu.c | diff 933f98be60a7b9c287acb081fb5d6659dd5e0441 Sun Feb 21 09:30:24 CST 2021 Krzysztof Kozlowski <krzk@kernel.org> ASoC: constify of_phandle_args in snd_soc_get_dai_name()
The pointer to of_phandle_args passed to snd_soc_get_dai_name() and of_xlate_dai_name() implementations is not modified. Since it is being used only to translate passed OF node to a DAI name, it should not be modified, so mark it as const for correctness and safer code.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20210221153024.453583-1-krzk@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
|