diff options
author | Robin Murphy <robin.murphy@arm.com> | 2022-06-15 17:11:09 +0100 |
---|---|---|
committer | Liviu Dudau <liviu.dudau@arm.com> | 2022-07-22 13:07:37 +0100 |
commit | f818eac130d236d41c2f18fd475ebd709e5a56e7 (patch) | |
tree | aaa15ba4e6cad0638e9861db73f860ffc51641a3 /drivers/usb/cdns3/cdns3-trace.c | |
parent | 4b760f76dd6f57cb0d608ba0c4009b7eeeddd864 (diff) |
drm/arm/hdlcd: Simplify IRQ install/uninstall
Since we no longer need to conform to the structure of the various DRM
IRQ callbacks, we can streamline the code by consolidating the piecemeal
functions and passing around our private data structure directly. We're
also a platform device so should never see IRQ_NOTCONNECTED either.
Furthermore we can also get rid of all the unnecesary read-modify-write
operations, since on install we know we cleared the whole interrupt mask
before enabling the debug IRQs, and thus on uninstall we're always
clearing everything as well.
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/65cf7818b23c1a8629dc851f1d058ecb8a14849e.1655309413.git.robin.murphy@arm.com
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions