Re: [PATCH] ALSA: core: Use the allocated major number with major=0

From: Bui Duc Phuc

Date: Mon Oct 12 2026 - 03:47:36 EST


Hi Takashi-san,

> > Note that major=0 has never worked, even before bd8f21876189: the old
> > code treated the positive return value of register_chrdev() as an
> > error and failed with -EIO. bd8f21876189 only changed the symptom.
> >
> > So this patch adds support for a dynamic major rather than fixing a
> > regression. Takashi-san, is a dynamic major something ALSA wants to
> > support?
>
> No, it's supposed to be only the fixed one.
>
> If there is a real demand, we can extend the implementation, but I
> don't know of such a request.
>

Thank you for the clarification.

Best regards,
Phuc