Message ID | 20240617125735.582963-1-krzysztof.kozlowski@linaro.org (mailing list archive) |
---|---|
State | Accepted |
Commit | d4a7d067e061c95c6387cf537258082074a4d299 |
Headers | show |
Series | [v2,1/2] ASoC: soc-dai.h: Constify DAI ops auto_selectable_formats | expand |
On Mon, 17 Jun 2024 14:57:34 +0200, Krzysztof Kozlowski wrote: > The core ASoC code does not modify contents of the > 'auto_selectable_formats' array passed in 'struct snd_soc_dai_ops', so > make it const for code safety. > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/2] ASoC: soc-dai.h: Constify DAI ops auto_selectable_formats commit: d4a7d067e061c95c6387cf537258082074a4d299 [2/2] ASoC: Constify DAI ops auto_selectable_formats commit: 595265c92668cbdbd9f299c49907734d468c12e9 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark
diff --git a/include/sound/soc-dai.h b/include/sound/soc-dai.h index 15ef268c9845..279223c4ef5e 100644 --- a/include/sound/soc-dai.h +++ b/include/sound/soc-dai.h @@ -361,7 +361,7 @@ struct snd_soc_dai_ops { * see * snd_soc_dai_get_fmt() */ - u64 *auto_selectable_formats; + const u64 *auto_selectable_formats; int num_auto_selectable_formats; /* probe ordering - for components with runtime dependencies */