Skip to contentSkip to conversation

ASoC: Intel: boards: Add CML_RT1015 m/c driver

PATCH Mark Brown 3 participants 4 messages Oct 16, 2020 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Mark Brown

author
#1 lore raw

Review

Quoted 6 lines · On Sat, Oct 17, 2020 at 12:02:24AM +0800, [email protected] wrote:

+<<<<<<< HEAD
obj-$(CONFIG_SND_SOC_INTEL_SOF_CML_RT1011_RT5682_MACH) += snd-soc-cml_rt1011_rt5682.o
+=======

(quoted diff) +3 -0
+obj-$(CONFIG_SND_SOC_INTEL_SOF_CML_RT1011_RT5682_MACH) += cml_rt1011_rt5682.o
+obj-$(CONFIG_SND_SOC_INTEL_SOF_CML_RT1015_RT5682_MACH) += cml_rt1015_rt5682.o
+>>>>>>> 955c356... CHROMIUM: ASoC: Intel: boards: Add CML_RT1015 m/c driver

There's an unresolved conflict here :/

#2 lore raw
Quoted 10 lines · Mark Brown

Review

Quoted 6 lines · On Sat, Oct 17, 2020 at 12:02:24AM +0800, [email protected] wrote:

+<<<<<<< HEAD
obj-$(CONFIG_SND_SOC_INTEL_SOF_CML_RT1011_RT5682_MACH) += snd-soc-cml_rt1011_rt5682.o
+=======

(quoted diff) +3 -0
+obj-$(CONFIG_SND_SOC_INTEL_SOF_CML_RT1011_RT5682_MACH) += cml_rt1011_rt5682.o
+obj-$(CONFIG_SND_SOC_INTEL_SOF_CML_RT1015_RT5682_MACH) += cml_rt1015_rt5682.o
+>>>>>>> 955c356... CHROMIUM: ASoC: Intel: boards: Add CML_RT1015 m/c driver

There's an unresolved conflict here :/

Was this patch shared on the mailing list? I don't see it in my inbox and in the archives?

At any rate, I am not hot on adding yet another machine driver just to change an amplifier version. It's really horrible to maintain all of these permutations by code duplication.

Adding a variant in a existing machine driver is a much better idea, and pretty much all new machine drivers follow this model. You could either rename the existing driver as cml_rt101x_rt5682 or use sof_rt5682.

Thanks
-Pierre

author
#3 lore raw
Quoted 6 lines · Pierre-Louis Bossart
Quoted 1 line · Mark Brown

There's an unresolved conflict here :/

Was this patch shared on the mailing list? I don't see it in my inbox and in the archives?

I did a reply all - it might've been held for moderation on the list?

#4 lore raw
In reply to Pierre-Louis Bossart
Quoted 8 lines

Was this patch shared on the mailing list? I don't see it in my inbox and in the archives?

At any rate, I am not hot on adding yet another machine driver just to change an amplifier version. It's really horrible to maintain all of these permutations by code duplication.

Quoted 6 lines

Adding a variant in a existing machine driver is a much better idea, and pretty much all new machine drivers follow this model. You could either rename the existing driver as cml_rt101x_rt5682 or use sof_rt5682.

Thanks
-Pierre

+ Jimmy from google

Hi Jimmy,
Any opinion about CML machine drivers for Chromebooks?

We may keep the separated driver in CHROMIUM or modify existing Helios driver to adopt the architecture in sof_rt5682 to work with multiple amps.

Regards,
Brent