fc8056e062
We found that calling irq_dispose_mapping() caused a kernel warning when removing the driver. The IRQs are obtained using platform_get_irq(), which returns a Linux virtual IRQ number directly managed by the device core, not by the OF subsystem. Therefore, the driver should not call irq_dispose_mapping() for these IRQs. Bug 5421820 Change-Id: I44bb119def6d85b85fe06e1c0fc6771b63d35fd8 Signed-off-by: Wayne Chang <waynec@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/3rdparty/canonical/linux-noble/+/3479600 Reviewed-by: Henry Lin <henryl@nvidia.com> Reviewed-by: Brad Griffis <bgriffis@nvidia.com> Reviewed-by: WK Tsai <wtsai@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>