kernel: bump 5.4 to 5.4.59
[openwrt/openwrt.git] / target / linux / bcm27xx / patches-5.4 / 950-0336-staging-vchiq_arm-Register-bcm2835-codec-as-a-platfo.patch
index 499efe2b65104f27fe1760c579d19bd7a1a34067..9e1b777cac477c93f911cd73101931056abca04c 100644 (file)
@@ -30,9 +30,9 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
        bcm2835_camera = vchiq_register_child(pdev, "bcm2835-camera");
        bcm2835_audio = vchiq_register_child(pdev, "bcm2835_audio");
  
-@@ -3267,6 +3269,7 @@ failed_platform_init:
- static int vchiq_remove(struct platform_device *pdev)
+@@ -3268,6 +3270,7 @@ static int vchiq_remove(struct platform_
  {
+       platform_device_unregister(bcm2835_audio);
        platform_device_unregister(bcm2835_camera);
 +      platform_device_unregister(bcm2835_codec);
        platform_device_unregister(vcsm_cma);