Merge remote-tracking branch 'stable/linux-5.15.y' into rpi-5.15.y
authorDom Cobley <popcornmix@gmail.com>
Fri, 13 Jan 2023 13:14:02 +0000 (13:14 +0000)
committerDom Cobley <popcornmix@gmail.com>
Fri, 13 Jan 2023 13:14:02 +0000 (13:14 +0000)
24 files changed:
1  2 
MAINTAINERS
drivers/bluetooth/hci_h5.c
drivers/firmware/raspberrypi.c
drivers/gpio/gpiolib.c
drivers/gpu/drm/drm_connector.c
drivers/gpu/drm/panel/panel-sitronix-st7701.c
drivers/hid/hid-ids.h
drivers/hwmon/Kconfig
drivers/input/joystick/Kconfig
drivers/media/v4l2-core/v4l2-ctrls-core.c
drivers/mfd/Kconfig
drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
drivers/of/overlay.c
drivers/rtc/rtc-pcf85063.c
drivers/spi/spi-gpio.c
drivers/spi/spidev.c
drivers/tty/serial/amba-pl011.c
drivers/usb/host/xhci-pci.c
drivers/usb/host/xhci-ring.c
drivers/usb/host/xhci.h
drivers/video/fbdev/Kconfig
sound/soc/codecs/pcm512x.c

diff --cc MAINTAINERS
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -601,32 -380,19 +601,40 @@@ static int st7701_probe(struct device *
  
        drm_panel_add(&st7701->panel);
  
 +      st7701->desc = desc;
 +      st7701->dev = dev;
 +
 +      *ret_st7701 = st7701;
 +
 +      return 0;
 +}
 +
 +static int st7701_dsi_probe(struct mipi_dsi_device *dsi)
 +{
 +      struct st7701 *st7701;
 +      int ret;
 +
 +      ret = st7701_probe(&dsi->dev, &st7701);
 +
 +      if (ret)
 +              return ret;
 +
 +      dsi->mode_flags = st7701->desc->flags;
 +      dsi->format = st7701->desc->format;
 +      dsi->lanes = st7701->desc->lanes;
 +
        mipi_dsi_set_drvdata(dsi, st7701);
        st7701->dsi = dsi;
 -      st7701->desc = desc;
  
-       return mipi_dsi_attach(dsi);
+       ret = mipi_dsi_attach(dsi);
+       if (ret)
+               goto err_attach;
+       return 0;
+ err_attach:
+       drm_panel_remove(&st7701->panel);
+       return ret;
  }
  
  static int st7701_dsi_remove(struct mipi_dsi_device *dsi)
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge