ASoC: Intel: bytcr-rt5640: fix settings in internal clock mode
Subsystems (3)
PATCH 1/2 ASoC: Intel: bytcr-rt5640: fix settings in internal clock mode
Frequency value of zero did not make sense, use same 24.576MHz setting and only change the clock source in idle mode
--- sound/soc/intel/boards/bytcr_rt5640.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/intel/boards/bytcr_rt5640.c +1 -1
@@ -142,7 +142,7 @@ static int platform_clock_control(struct snd_soc_dapm_widget *w,* for Jack detection and button press */ ret =snd_soc_dai_set_sysclk (codec_dai,RT5640_SCLK_S_RCCLK , -0 , +48000 *512 ,SND_SOC_CLOCK_IN );if (!ret) {if ((byt_rt5640_quirk &BYT_RT5640_MCLK_EN ) && priv->mclk)
Signature · 1 line
2.7.4
PATCH 2/2 ASoC: Intel: bytcr_rt5640: quirks for Insyde devices
From: youling257 <[email protected]>
There are literally dozens of Insyde devices with a different name but with the same audio routing. Use a generic quirk to match on vendor name only to avoid recurring edits of the same thing.
--- sound/soc/intel/boards/bytcr_rt5640.c | 10 ++++++++++ 1 file changed, 10 insertions(+)
sound/soc/intel/boards/bytcr_rt5640.c +10 -0
@@ -387,6 +387,16 @@ static const struct dmi_system_id byt_rt5640_quirk_table[] = { BYT_RT5640_SSP0_AIF1), }, + { + .callback = byt_rt5640_quirk_cb, + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Insyde"), + }, + .driver_data = (unsigned long *)(BYT_RT5640_IN3_MAP | + BYT_RT5640_MCLK_EN | + BYT_RT5640_SSP0_AIF1), + + }, {} };
Signature · 1 line
2.7.4
Mark Brown
maintainerApplied "ASoC: Intel: bytcr_rt5640: quirks for Insyde devices" to the asoc tree
The patch
ASoC: Intel: bytcr_rt5640: quirks for Insyde devices
has been applied to the asoc tree at
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
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
Quoted 1 line
From
571800487837263e914ef68681e4ad6a57d49c7fMon Sep 17 00:00:00 2001
From: youling257 <[email protected]>
Date: Wed, 4 Jan 2017 15:44:53 -0600
Subject: [PATCH] ASoC: Intel: bytcr_rt5640: quirks for Insyde devices
There are literally dozens of Insyde devices with a different name but with the same audio routing. Use a generic quirk to match on vendor name only to avoid recurring edits of the same thing.
--- sound/soc/intel/boards/bytcr_rt5640.c | 10 ++++++++++ 1 file changed, 10 insertions(+)
sound/soc/intel/boards/bytcr_rt5640.c +10 -0
@@ -387,6 +387,16 @@ static const struct dmi_system_id byt_rt5640_quirk_table[] = { BYT_RT5640_SSP0_AIF1), }, + { + .callback = byt_rt5640_quirk_cb, + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Insyde"), + }, + .driver_data = (unsigned long *)(BYT_RT5640_IN3_MAP | + BYT_RT5640_MCLK_EN | + BYT_RT5640_SSP0_AIF1), + + }, {} };
Signature · 1 line
2.11.0
Mark Brown
maintainerApplied "ASoC: Intel: bytcr-rt5640: fix settings in internal clock mode" to the asoc tree
In reply to Pierre-Louis BossartThe patch
ASoC: Intel: bytcr-rt5640: fix settings in internal clock mode
has been applied to the asoc tree at
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
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
Quoted 1 line
From
60448b077ed93d227e6c117a9e87db76ff0c1911Mon Sep 17 00:00:00 2001
From: Pierre-Louis Bossart <[email protected]>
Date: Wed, 4 Jan 2017 15:44:52 -0600
Subject: [PATCH] ASoC: Intel: bytcr-rt5640: fix settings in internal clock
mode
Frequency value of zero did not make sense, use same 24.576MHz setting and only change the clock source in idle mode
--- sound/soc/intel/boards/bytcr_rt5640.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/intel/boards/bytcr_rt5640.c +1 -1
@@ -142,7 +142,7 @@ static int platform_clock_control(struct snd_soc_dapm_widget *w,* for Jack detection and button press */ ret =snd_soc_dai_set_sysclk (codec_dai,RT5640_SCLK_S_RCCLK , -0 , +48000 *512 ,SND_SOC_CLOCK_IN );if (!ret) {if ((byt_rt5640_quirk &BYT_RT5640_MCLK_EN ) && priv->mclk)
Signature · 1 line
2.11.0