[alsa-devel] [PATCH V4 3/3] ASoC: fsl_asrc: Unify the supported input and output rate

Nicolin Chen nicoleotsuka at gmail.com
Sat Apr 20 09:29:53 CEST 2019


On Sat, Apr 20, 2019 at 07:23:59AM +0000, S.j. Wang wrote:
> > >       /* Validate input and output sample rates */
> > > -     for (in = 0; in < ARRAY_SIZE(supported_input_rate); in++)
> > > -             if (inrate == supported_input_rate[in])
> > > +     for (in = 0; in < ARRAY_SIZE(supported_asrc_rate); in++)
> > > +             if (inrate == supported_asrc_rate[in])
> > >                       break;
> > 
> > Not sure if we still need it upon having hw_constraint. Maybe m2m needs it?

> Yes.

OK. Then we can leave it there. Thanks


More information about the Alsa-devel mailing list