From 17a8b6b03717fda28be73bc0d24a608a8339d646 Mon Sep 17 00:00:00 2001 From: Thierry Reding Date: Mon, 16 Dec 2013 10:01:24 +0100 Subject: 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 --- drivers/gpu/drm/tegra/hdmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/tegra/hdmi.c b/drivers/gpu/drm/tegra/hdmi.c index 0cfc94f8d14..d8cc81f5de3 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; -- cgit v1.2.3-70-g09d2