android_kernel_sony_sdm845/net/rfkill
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Johan Hovold dd4e7140c4 rfkill: gpio: fix memory leak in probe error path
commit 4bf01ca21e2e0e4561d1a03c48c3d740418702db upstream.

Make sure to free the rfkill device in case registration fails during
probe.

Fixes: 5e7ca3937f ("net: rfkill: gpio: convert to resource managed allocation")
Cc: stable <stable@vger.kernel.org>	# 3.13
Cc: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-16 10:08:43 +02:00
..
core.c rfkill: Use switch to demux userspace operations 2016-04-05 10:48:53 +02:00
input.c rfkill: don't use [delayed_]work_pending() 2012-12-28 13:40:16 -08:00
Kconfig net: rfkill: gpio: remove rfkill_gpio_platform_data 2016-02-24 09:13:09 +01:00
Makefile
rfkill-gpio.c rfkill: gpio: fix memory leak in probe error path 2018-05-16 10:08:43 +02:00
rfkill-regulator.c net: rfkill: drop owner assignment from platform_drivers 2014-10-20 16:21:58 +02:00
rfkill.h