Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/tegra: hdmi: Make read-only const array freqs static

Don't populate the const read-only array freqs on the stack at run time,
instead make it static.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240822205047.642845-1-colin.i.king@gmail.com

authored by

Colin Ian King and committed by
Thierry Reding
e75356ef 3d70eb8e

+1 -1
+1 -1
drivers/gpu/drm/tegra/hdmi.c
··· 434 434 435 435 static void tegra_hdmi_setup_audio_fs_tables(struct tegra_hdmi *hdmi) 436 436 { 437 - const unsigned int freqs[] = { 437 + static const unsigned int freqs[] = { 438 438 32000, 44100, 48000, 88200, 96000, 176400, 192000 439 439 }; 440 440 unsigned int i;