ARM: tegra: Check NULL pointer to avoid crash
authorChao Xu <cxu@nvidia.com>
Mon, 3 Jun 2013 23:39:28 +0000 (16:39 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:28:52 +0000 (13:28 -0700)
commit355a826de27a474b46ab28c9ff0dae0088f7a703
treedf0635aecf26abde768e1d442db4ed0df1a1359e
parentfc59f57e02c4e618bc9dd703d03950d75393cc79
ARM: tegra: Check NULL pointer to avoid crash

This is just a workaround. Ideally any access of the tegra_dc_feature_xxx
function needs to check if the window exists.

Change-Id: Ib15e618412e03038b08579b57aef1ff32592b6d8
Signed-off-by: Chao Xu <cxu@nvidia.com>
Reviewed-on: http://git-master/r/242516
drivers/video/tegra/dc/dc_config.c