diff options
author | Jordan Crouse <jcrouse@codeaurora.org> | 2020-02-14 11:36:44 -0700 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2020-03-19 12:15:35 -0700 |
commit | 0478b4fc5f37f4d494245fe7bcce3f531cf380e9 (patch) | |
tree | 1280aa4d4884b445c3ab8262c8b7d1b2763ed016 /drivers/gpu/drm/msm/msm_rd.c | |
parent | e6790f7210062ea551c378250ea5b70851d35e95 (diff) |
drm/msm/a5xx: Always set an OPP supported hardware value
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@codeaurora.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_rd.c')
0 files changed, 0 insertions, 0 deletions