diff options
author | Thierry Reding <treding@nvidia.com> | 2013-12-16 10:01:24 +0100 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2013-12-19 09:29:54 +0100 |
commit | 17a8b6b03717fda28be73bc0d24a608a8339d646 (patch) | |
tree | ab00990743167592d73173d0f1e01b876a159c8d /drivers/gpu/drm/tegra | |
parent | 425c0fdc427440fdaf039a649eab713d932fa368 (diff) | |
download | linux-17a8b6b03717fda28be73bc0d24a608a8339d646.tar.bz2 |
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>
Diffstat (limited to 'drivers/gpu/drm/tegra')
-rw-r--r-- | drivers/gpu/drm/tegra/hdmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tegra/hdmi.c b/drivers/gpu/drm/tegra/hdmi.c index 0cfc94f8d14c..d8cc81f5de38 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; |