video: tegra: hdmi: Fix segfault with sparse tool
authorVineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com>
Tue, 11 Nov 2014 12:21:41 +0000 (17:21 +0530)
committerJon Mayo <jmayo@nvidia.com>
Wed, 12 Nov 2014 02:28:37 +0000 (18:28 -0800)
commitdad37a3dc9712c2f32568a5a35448bf75e767206
treea7ee06195a57907ade9b927f07d34afef379ee8b
parent28c7679a0def49c21651c7435d884c0fc248a585
video: tegra: hdmi: Fix segfault with sparse tool

Rewrite GCC compound statement used in
HDMI 2.0 driver to plain 'if else' statement
to prevent sparse parser from segment fault

Bug 200050889

Change-Id: Ib0906238bc604bea5aeb9b8b73b0a8378d45a595
Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com>
Reviewed-on: http://git-master/r/601101
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Tested-by: Jon Mayo <jmayo@nvidia.com>
drivers/video/tegra/dc/hdmi2.0.c