AsahiLinux / linux

Linux kernel source tree
Other
2.16k stars 85 forks source link

drm: apple: backlight: release lock in error path #287

Closed cschutijser closed 1 month ago

cschutijser commented 2 months ago

I found this while I was reading this code in OpenBSD's kernel (see https://github.com/openbsd/src/tree/master/sys/dev/pci/drm/apple). I have used the fix on OpenBSD for a couple of days, although I doubt I actually hit the error path.

jannau commented 2 months ago

added to asahi-6.8.6-4 thanks

jannau commented 1 month ago

merged in asahi-wip / asahi-6.8.8-1