raspberrypi / linux

Kernel source tree for Raspberry Pi-provided kernel builds. Issues unrelated to the linux kernel should be posted on the community forum at https://forums.raspberrypi.com/
Other
11.15k stars 5k forks source link

amba-pl011 platform_driver bug #6379

Closed TopgunZh closed 1 month ago

TopgunZh commented 1 month ago

Describe the bug

You missed platform_driver_unregister in the pl011_exit function

Steps to reproduce the behaviour

1.sudo rmmod amba-pl011.ko.xz 2.sudo insmod amba-pl011.ko.xz

miss platform_driver_unregister(&pl011_axi_platform_driver);

Device (s)

Raspberry Pi 5

System

image

Logs

image

Additional context

No response

popcornmix commented 1 month ago

Does https://github.com/raspberrypi/linux/pull/6380 work for you?

TopgunZh commented 1 month ago

Does #6380 work for you? It had already been fixed when I opened the issue. The bug is relatively simple.