summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq
diff options
context:
space:
mode:
authorEdmond Chung <edmondchung@google.com>2020-11-30 23:47:53 +0100
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2020-12-02 10:40:55 +0100
commit6dbbf84603961d4e8eaea46e3530373c8cffee67 (patch)
treea8e66c902eebae129d1d4296cb668b9dfeec8aca /drivers/cpufreq
parentgpio: dwapb: fix NULL pointer dereference at dwapb_gpio_suspend() (diff)
downloadlinux-6dbbf84603961d4e8eaea46e3530373c8cffee67.tar.xz
linux-6dbbf84603961d4e8eaea46e3530373c8cffee67.zip
gpiolib: Don't free if pin ranges are not defined
A similar check was added in gpiochip_generic_request, but not in free. This has caused an imbalance count of request vs. free calls to the pinctrl driver. This patch is targeted to fix that issue. Fixes: 2ab73c6d8323 ("gpio: Support GPIO controllers without pin-ranges") Signed-off-by: Edmond Chung <edmondchung@google.com> Signed-off-by: Andrew Chant <achant@google.com> Signed-off-by: Will McVicker <willmcvicker@google.com> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'drivers/cpufreq')
0 files changed, 0 insertions, 0 deletions