Il 01/07/22 08:28, Bo-Chen Chen ha scritto:
When switching resolutions, config the audio setting with the
previous audio parameters.
Signed-off-by: Jitao Shi <[email protected]>
Signed-off-by: Bo-Chen Chen <[email protected]>
Change the title to:
drm/mediatek: Use cached audio config when changing resolution
...and a more suitable description would be:
Use the cached audio configuration during a resolution switch
to avoid loss of sound.
(perhaps also explain why we're losing it and why using cached
data is necessary).
After which...
Reviewed-by: AngeloGioacchino Del Regno
<[email protected]>