summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/msm_drv.c
diff options
context:
space:
mode:
authorArchit Taneja <architt@codeaurora.org>2016-05-02 11:05:52 +0530
committerRob Clark <robdclark@gmail.com>2016-05-08 10:22:19 -0400
commitc899f9358485869a6e18902233eb77b31f0428ee (patch)
treebf405559b3f64ff045ffdc689282f2eb927d98b4 /drivers/gpu/drm/msm/msm_drv.c
parent4816b6267cf078f40158ff2e6bf9d0223f0c1cf6 (diff)
downloadop-kernel-dev-c899f9358485869a6e18902233eb77b31f0428ee.zip
op-kernel-dev-c899f9358485869a6e18902233eb77b31f0428ee.tar.gz
drm/msm/hdmi: Prevent gpio_free related kernel warnings
Calling the legacy gpio_free on an invalid GPIO (a GPIO numbered -1) results in kernel warnings. This causes a lot of backtraces when we try to unload the drm/msm module. Call gpio_free only on valid GPIOs. Signed-off-by: Archit Taneja <architt@codeaurora.org> Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_drv.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud