summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2013-12-16 10:01:24 +0100
committerThierry Reding <treding@nvidia.com>2013-12-19 09:29:54 +0100
commit17a8b6b03717fda28be73bc0d24a608a8339d646 (patch)
treeab00990743167592d73173d0f1e01b876a159c8d
parent425c0fdc427440fdaf039a649eab713d932fa368 (diff)
downloadop-kernel-dev-17a8b6b03717fda28be73bc0d24a608a8339d646.zip
op-kernel-dev-17a8b6b03717fda28be73bc0d24a608a8339d646.tar.gz
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>
-rw-r--r--drivers/gpu/drm/tegra/hdmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tegra/hdmi.c b/drivers/gpu/drm/tegra/hdmi.c
index 0cfc94f..d8cc81f5 100644
--- a/drivers/gpu/drm/tegra/hdmi.c
+++ b/drivers/gpu/drm/tegra/hdmi.c
@@ -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;
OpenPOWER on IntegriCloud