projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
425c0fd
)
drm/tegra: Fix HDMI audio frequency typo
author
Thierry Reding
<treding@nvidia.com>
Mon, 16 Dec 2013 09:01:24 +0000
(10:01 +0100)
committer
Thierry Reding
<treding@nvidia.com>
Thu, 19 Dec 2013 08:29:54 +0000
(09:29 +0100)
The correct check is for 48 kHz, not 480 kHz. Found by Coverity.
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/hdmi.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/tegra/hdmi.c
b/drivers/gpu/drm/tegra/hdmi.c
index 0cfc94f8d14c1b09dec311a84439cffe5aee4bd3..d8cc81f5de38e33bd7d445c27ec67b9c72a71f58 100644
(file)
--- 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 > 48000
0
)
+ else if (f > 48000)
delta = 6;
else
delta = 9;