[alsa-devel] [PATCH] ASoC: change 'HDMI/DP, pcm=' to 'HDMI/DP, pcm=' Jack control names
Kai Vehmanen
kai.vehmanen at linux.intel.com
Fri Oct 25 19:48:01 CEST 2019
Hi Peter,
On Fri, 25 Oct 2019, Peter Ujfalusi wrote:
> On 10/25/19 3:44 PM, Kai Vehmanen wrote:
> > When the common-hdmi patches go in (v7 sent earlier this week), SOF will
> > switch to common-hdmi and the also the naming will be aligned.
>
> Which is going to break existing users, if any ;)
valid point :) but I have actually gone to great lengths to not break
existing user-space. I did consider the same approach as Jaroslav
(especially as there is still limited number of SOF clients in the wild
still), but dropped the idea based on userspace feedback. So in the end,
backward compatibility is kept in the patchset just for this reason.
The common-hdmi patch adds ability to use SOF with both codec drivers and
I even added a module parameter to allow distros to compile both drivers
in, and select the driver to use, at runtime from user-space.
Slowly as user-space migrates to the new driver (more features), we can
at some point drop the old and get rid of "'HDMI/DP, pcm=' notation. Of
course, proving there is no one left is not easy, so we likely need
to maintain both for a looong time.
Br, Kai
More information about the Alsa-devel
mailing list