Commit 17a8b6b0 authored by Thierry Reding's avatar Thierry Reding

drm/tegra: Fix HDMI audio frequency typo

The correct check is for 48 kHz, not 480 kHz. Found by Coverity.
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 425c0fdc
...@@ -379,7 +379,7 @@ static void tegra_hdmi_setup_audio_fs_tables(struct tegra_hdmi *hdmi) ...@@ -379,7 +379,7 @@ static void tegra_hdmi_setup_audio_fs_tables(struct tegra_hdmi *hdmi)
if (f > 96000) if (f > 96000)
delta = 2; delta = 2;
else if (f > 480000) else if (f > 48000)
delta = 6; delta = 6;
else else
delta = 9; delta = 9;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment