drm/amd/display: Avoid reading audio pattern past AUDIO_CHANNELS_COUNT
authorjsg <jsg@openbsd.org>
Fri, 13 May 2022 03:13:31 +0000 (03:13 +0000)
committerjsg <jsg@openbsd.org>
Fri, 13 May 2022 03:13:31 +0000 (03:13 +0000)
commit05b25ef40605e79c186a5005ea15c9d4af0d6291
tree3e0ea61f90bfb6d0372f0e0472c09bfb86debe7e
parent836e0f8d089637830ce955f19f0816ad9c228751
drm/amd/display: Avoid reading audio pattern past AUDIO_CHANNELS_COUNT

From Harry Wentland
c10bab89a1bea395b2f6970529e38bef54ebf792 in linux 5.15.y/5.15.39
3dfe85fa87b2a26bdbd292b66653bba065cf9941 in mainline linux
sys/dev/pci/drm/amd/display/dc/core/dc_link_dp.c