mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 21:10:52 +07:00
drm/tegra: Fix HDMI audio frequency typo
The correct check is for 48 kHz, not 480 kHz. Found by Coverity. Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
425c0fdc42
commit
17a8b6b037
@ -379,7 +379,7 @@ static void tegra_hdmi_setup_audio_fs_tables(struct tegra_hdmi *hdmi)
|
||||
|
||||
if (f > 96000)
|
||||
delta = 2;
|
||||
else if (f > 480000)
|
||||
else if (f > 48000)
|
||||
delta = 6;
|
||||
else
|
||||
delta = 9;
|
||||
|
Loading…
Reference in New Issue
Block a user