Re: [PATCH] drm/msm/a5xx: Always set an OPP supported hardware value

From: Eric Anholt
Date: Tue Feb 18 2020 - 16:58:56 EST


On Fri, Feb 14, 2020 at 10:36 AM Jordan Crouse <jcrouse@xxxxxxxxxxxxxx> wrote:
>
> If the opp table specifies opp-supported-hw as a property but the driver
> has not set a supported hardware value the OPP subsystem will reject
> all the table entries.
>
> Set a "default" value that will match the default table entries but not
> conflict with any possible real bin values. Also fix a small memory leak
> and free the buffer allocated by nvmem_cell_read().
>
> Signed-off-by: Jordan Crouse <jcrouse@xxxxxxxxxxxxxx>

This does fix my warn at boot on db820c.

Reviewed-by: Eric Anholt <eric@xxxxxxxxxx>