[PATCH v2 1/3] drm/msm/hdmi: Prevent gpio_free related kernel warnings

2016-04-27 Thread Archit Taneja
On 04/25/2016 11:18 PM, twp at codeaurora.org wrote: > On 2016-04-25 03:16, Archit Taneja wrote: >> 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

[PATCH v2 1/3] drm/msm/hdmi: Prevent gpio_free related kernel warnings

2016-04-25 Thread Archit Taneja
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 --- drivers/gpu/drm/msm/hdmi/hdmi_connector.c | 19

[PATCH v2 1/3] drm/msm/hdmi: Prevent gpio_free related kernel warnings

2016-04-25 Thread t...@codeaurora.org
On 2016-04-25 03:16, Archit Taneja wrote: > 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 > --