diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2020-05-27 17:29:45 +0200 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2020-05-28 10:36:27 +0200 |
commit | 745c447579326d26a239676173854065fae1a197 (patch) | |
tree | e24a7dc47314abc0689ec251569272832121bf70 /target/linux/bcm27xx/patches-4.19/950-0203-staging-vchiq_arm-Fix-platform-device-unregistration.patch | |
parent | ad84c095028f6ddef95a92e028760cce23d32f6c (diff) | |
download | upstream-745c447579326d26a239676173854065fae1a197.tar.gz upstream-745c447579326d26a239676173854065fae1a197.tar.bz2 upstream-745c447579326d26a239676173854065fae1a197.zip |
bcm27xx: remove linux 4.19 support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/bcm27xx/patches-4.19/950-0203-staging-vchiq_arm-Fix-platform-device-unregistration.patch')
-rw-r--r-- | target/linux/bcm27xx/patches-4.19/950-0203-staging-vchiq_arm-Fix-platform-device-unregistration.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/target/linux/bcm27xx/patches-4.19/950-0203-staging-vchiq_arm-Fix-platform-device-unregistration.patch b/target/linux/bcm27xx/patches-4.19/950-0203-staging-vchiq_arm-Fix-platform-device-unregistration.patch deleted file mode 100644 index b32699d09f..0000000000 --- a/target/linux/bcm27xx/patches-4.19/950-0203-staging-vchiq_arm-Fix-platform-device-unregistration.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 1ada615db1b97faec9c4625ccfd2cc35d54d850a Mon Sep 17 00:00:00 2001 -From: Stefan Wahren <stefan.wahren@i2se.com> -Date: Sat, 13 Oct 2018 20:51:23 +0200 -Subject: [PATCH] staging: vchiq_arm: Fix platform device - unregistration - -In error case platform_device_register_data would return an ERR_PTR -instead of NULL. So we better check this before unregistration. - -Fixes: 37b7b3087a2f ("staging/vc04_services: Register a platform device for the camera driver.") -Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> ---- - drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - ---- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c -+++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c -@@ -3656,7 +3656,8 @@ failed_platform_init: - - static int vchiq_remove(struct platform_device *pdev) - { -- platform_device_unregister(bcm2835_camera); -+ if (!IS_ERR(bcm2835_camera)) -+ platform_device_unregister(bcm2835_camera); - vchiq_debugfs_deinit(); - device_destroy(vchiq_class, vchiq_devid); - class_destroy(vchiq_class); |