Re: [PATCH v13 10/10] drm/mediatek: fix no audio when resolution change

From: AngeloGioacchino Del Regno
Date: Fri Jul 01 2022 - 04:28:21 EST


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 <jitao.shi@xxxxxxxxxxxx>
Signed-off-by: Bo-Chen Chen <rex-bc.chen@xxxxxxxxxxxx>

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 <angelogioacchino.delregno@xxxxxxxxxxxxx>