Re: [PATCH] ASoC: rockchip: add format and rate constraints on rk3399

From: Yu-Hsuan Hsu
Date: Tue Jun 30 2020 - 08:25:43 EST


Mark Brown <broonie@xxxxxxxxxx> æ 2020å6æ30æ éä äå6:40åéï
>
> On Tue, Jun 30, 2020 at 05:16:15PM +0800, Yu-Hsuan Hsu wrote:
> > S8 and S24 formats does not work on this machine driver so force to use
> > S16_LE instead.
>
> > In addition, add constraint to limit the max value of rate because the
> > rate higher than 96000(172000, 192000) is not stable either.
>
> What is the source of these restrictions - are they due to the component
> devices? If they are then the component devices ought to be setting
> suitable constraints themselves.

I'm not sure why it happened. But I guess it is not the issues on those
components because they work normally on other machine drivers.
Because this driver is old and lacks maintenance, I think we can just
filter some unstable formats. Actually, those formats are very rarely
used as well.