mbox series

[v2,0/2] ASoC: mediatek: add missing initialization

Message ID 20230301110200.26177-1-trevor.wu@mediatek.com (mailing list archive)
Headers show
Series ASoC: mediatek: add missing initialization | expand

Message

Trevor Wu (吳文良) March 1, 2023, 11:01 a.m. UTC
Fix dts parsing problem in mt8188 and mt8195 etdm dai drivers.

Changes since v1:
  - split the patch into two commits and add Fixes tag.

Trevor Wu (2):
  ASoC: mediatek: mt8188: add missing initialization
  ASoC: mediatek: mt8195: add missing initialization

 sound/soc/mediatek/mt8188/mt8188-dai-etdm.c | 3 +++
 sound/soc/mediatek/mt8195/mt8195-dai-etdm.c | 3 +++
 2 files changed, 6 insertions(+)

Comments

AngeloGioacchino Del Regno March 1, 2023, 11:10 a.m. UTC | #1
Il 01/03/23 12:02, Trevor Wu ha scritto:
> In etdm dai driver, dai_etdm_parse_of() function is used to parse dts
> properties to get parameters. There are two for-loops which are
> sepearately for all etdm and etdm input only cases. In etdm in only
> loop, dai_id is not initialized, so it keeps the value intiliazed in
> another loop.
> 
> In the patch, add the missing initialization to fix the unexpected
> parsing problem.
> 
> Fixes: 1de9a54acafb ("ASoC: mediatek: mt8195: support etdm in platform driver")
> Signed-off-by: Trevor Wu <trevor.wu@mediatek.com>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Mark Brown March 1, 2023, 4:31 p.m. UTC | #2
On Wed, 01 Mar 2023 19:01:58 +0800, Trevor Wu wrote:
> Fix dts parsing problem in mt8188 and mt8195 etdm dai drivers.
> 
> Changes since v1:
>   - split the patch into two commits and add Fixes tag.
> 
> Trevor Wu (2):
>   ASoC: mediatek: mt8188: add missing initialization
>   ASoC: mediatek: mt8195: add missing initialization
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/2] ASoC: mediatek: mt8188: add missing initialization
      commit: 23badca4248a9a467f630adbd1557f664585e1db
[2/2] ASoC: mediatek: mt8195: add missing initialization
      commit: b56ec2992a2e43bc3e60d6db86849d31640e791f

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