All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Jaroslav Kysela <perex@perex.cz>
Cc: ALSA development <alsa-devel@alsa-project.org>,
	Mark Brown <broonie@kernel.org>,
	Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Subject: Re: [alsa-devel] [PATCH] ASoC: change 'HDMI/DP, pcm=' to 'HDMI/DP, pcm=' Jack control names
Date: Fri, 25 Oct 2019 18:11:18 +0200	[thread overview]
Message-ID: <s5heez0oleh.wl-tiwai@suse.de> (raw)
In-Reply-To: <83e4dc16-07e7-aafb-db43-01a89e31270b@perex.cz>

On Fri, 25 Oct 2019 16:39:44 +0200,
Jaroslav Kysela wrote:
> 
> Dne 25. 10. 19 v 16:28 Takashi Iwai napsal(a):
> > On Fri, 25 Oct 2019 16:18:20 +0200,
> > Jaroslav Kysela wrote:
> >>
> >> Dne 25. 10. 19 v 16:06 Takashi Iwai napsal(a):
> >>> On Fri, 25 Oct 2019 15:57:50 +0200,
> >>> Jaroslav Kysela wrote:
> >>>>
> >>>> Dne 25. 10. 19 v 14:38 Takashi Iwai napsal(a):
> >>>>> On Fri, 25 Oct 2019 14:30:38 +0200,
> >>>>> Jaroslav Kysela wrote:
> >>>>>>
> >>>>>> There is an inconsistency in the names for the HDMI/DP Jack control
> >>>>>> names between some ASoC drivers and the HDA HDMI driver which
> >>>>>> introduced this naming in 2011.
> >>>>>>
> >>>>>> There might be an impact for the user space (UCM). I will fix
> >>>>>> the UCM configurations when this patch is applied.
> >>>>>>
> >>>>>> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
> >>>>>> Cc: Mark Brown <broonie@kernel.org>
> >>>>>> Cc: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
> >>>>>
> >>>>> Yes, that's a known problem, and I left them so far just for keeping
> >>>>> the already existing stuff working.
> >>>>>
> >>>>> Won't this break the current Chromebooks user-space?
> >>>>
> >>>> I would really expect to upgrade UCM configs for the recent kernels in
> >>>> this case. I believe, those sort of issues are better to fix early
> >>>> than lately. I know, the transition might cause a little issues, but
> >>>> usually "do upgrade answer" will help. I don't think that we speak
> >>>> about a large group of users here.
> >>>
> >>> Well, that's obviously against our dont-breaking-user-space rule.
> >>> The UCM profiles have been widely used on Chromebooks, and they can't
> >>> upgrade easily.
> >>>
> >>> So, I believe this is a case where we have to live with messes.
> >>
> >> If we speak about Google's kernels, they can apply a revert (depends
> >> on their upgrade/maintenance policy). If users use the standard Linux
> >> distributions, then we are fine, don't we?
> >
> > No, we can't break the already existing user-space.  That's what Linus
> > suggested repeatedly over years, too.
> >
> >> I would make an exception for the dont-breaking-user-space policy in
> >> this case. I am sure that the UCM configs will stabilize quickly. And
> >> this bad jack name is against our control name policy. It's just a
> >> bug.
> >
> > There is no exception for that, it's a so simple rule.  If something
> > gets *practically* broken by the kernel, it's no-go.  User-space is
> > user-space, and it doesn't matter whether it's upstream or not.
> >
> > And, even if everything is upstream, imagine that user installs two
> > different kernels, and switches with each other occasionally for
> > whatever reason.  The UCM upgrade solution won't work, either.
> 
> It's the corner case with the really low impact. Users do not do this
> usually. Ok, I will be silent again. It seems that we cannot get an
> agreement on this simple thing. I just prefer the fix rather than
> nothing.

I'd love to fix things, too, of course.  But we need changing our
mindset: what we - the kernel devs - can control is only inside the
kernel.  Even the upstream alsa-lib and UCM profiles are merely
reference implementations.


thanks,

Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

  reply	other threads:[~2019-10-25 16:12 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-25 12:30 [alsa-devel] [PATCH] ASoC: change 'HDMI/DP, pcm=' to 'HDMI/DP, pcm=' Jack control names Jaroslav Kysela
2019-10-25 12:38 ` Takashi Iwai
2019-10-25 13:57   ` Jaroslav Kysela
2019-10-25 14:06     ` Takashi Iwai
2019-10-25 14:18       ` Jaroslav Kysela
2019-10-25 14:28         ` Takashi Iwai
2019-10-25 14:39           ` Jaroslav Kysela
2019-10-25 16:11             ` Takashi Iwai [this message]
2019-10-25 17:04               ` Jaroslav Kysela
2019-10-25 18:02                 ` Kai Vehmanen
2019-10-25 21:03                   ` Jaroslav Kysela
2019-10-26  7:37                     ` Takashi Iwai
2019-10-26 17:11                       ` Jaroslav Kysela
2019-10-28 14:23                         ` Takashi Iwai
2019-10-25 14:49           ` Mark Brown
2019-10-25 12:44 ` Kai Vehmanen
2019-10-25 14:04   ` Jaroslav Kysela
2019-10-25 14:35     ` Pierre-Louis Bossart
2019-10-25 14:43       ` Jaroslav Kysela
2019-10-25 16:27   ` Peter Ujfalusi
2019-10-25 17:48     ` Kai Vehmanen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5heez0oleh.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=perex@perex.cz \
    --cc=pierre-louis.bossart@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.