diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2021-08-03 11:07:01 +0200 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2021-08-10 20:13:53 +0200 |
commit | b6366814fa77cfbc2a816614f7a981a9d1eadf8d (patch) | |
tree | e291c77161cde1fc536ea3ae1083a8ead2fb920f /drivers/regulator | |
parent | 5518572dce7d0f54a15e1dadeb647e498b9f9844 (diff) | |
download | linux-b6366814fa77cfbc2a816614f7a981a9d1eadf8d.tar.gz linux-b6366814fa77cfbc2a816614f7a981a9d1eadf8d.tar.bz2 linux-b6366814fa77cfbc2a816614f7a981a9d1eadf8d.zip |
drm/tilcdc: Convert to Linux IRQ interfaces
Drop the DRM IRQ midlayer in favor of Linux IRQ interfaces. DRM's
IRQ helpers are mostly useful for UMS drivers. Modern KMS drivers
don't benefit from using it.
DRM IRQ callbacks are now being called directly or inlined.
Calls to platform_get_irq() can fail with a negative errno code.
Abort initialization in this case. The DRM IRQ midlayer does not
handle this case correctly.
For most drivers, only the DRM IRQ helpers use irq_enabled from
struct drm_device. Tilcdc also uses irq_enabled to make its error
rollback work correctly. As the field will become legacy, duplicated
the state in the driver's local private structure.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210803090704.32152-12-tzimmermann@suse.de
Diffstat (limited to 'drivers/regulator')
0 files changed, 0 insertions, 0 deletions