diff options
author | Archit Taneja <architt@codeaurora.org> | 2016-05-02 11:05:52 +0530 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2016-05-08 10:22:19 -0400 |
commit | c899f9358485869a6e18902233eb77b31f0428ee (patch) | |
tree | bf405559b3f64ff045ffdc689282f2eb927d98b4 /scripts/asn1_compiler.c | |
parent | 4816b6267cf078f40158ff2e6bf9d0223f0c1cf6 (diff) |
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 'scripts/asn1_compiler.c')
0 files changed, 0 insertions, 0 deletions