diff options
| author | 2026-04-30 21:56:59 +0200 | |
|---|---|---|
| committer | 2026-05-19 10:46:33 +0200 | |
| commit | d45d5c819f2cd0b6b5d76a194a537a5f4aeefecb (patch) | |
| tree | 9d34152043fd6b7654af8806f89fedaa5464b71a /include/linux/bcma/ssh:/git@git.zx2c4.com | |
| parent | drm/bridge: chipone-icn6211: use devm_drm_bridge_add in i2c probe (diff) | |
drm/bridge: megachips: remove bridge when irq request fails
If devm_request_threaded_irq() fails after drm_bridge_add(), remove the
bridge before returning.
Keep drm_bridge_add() rather than devm_drm_bridge_add(): registration is
tied to the STDP4028 device while ge_b850v3_register() may complete from
either I2C probe; devm would not unwind the bridge if the other client's
probe fails.
Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
Fixes: fcfa0ddc18ed ("drm/bridge: Drivers for megachips-stdpxxxx-ge-b850v3-fw (LVDS-DP++)")
Cc: stable@vger.kernel.org
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Tested-by: Ian Ray <ian.ray@gehealthcare.com>
Link: https://patch.msgid.link/20260430195700.80317-1-osama.abdelkader@gmail.com
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Diffstat (limited to 'include/linux/bcma/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
