Re: [PATCH] leds: add LED driver for CR0014114 board

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu 2018-03-08 10:40:44, Oleh Kravchenko wrote:
> On 07.03.18 23:51, Pavel Machek wrote:
> >> I tried to use cdev.brightness_set_blocking, but instead working LEDs I
> >> got kernel NULL pointer dereference error.
> > 
> > The backtrace shows driver being unregistered at that point. if you
> > did not request rmmod, it means that something failed during
> > registration ....
> 
> I tried to unload module and it's crashed, it's forbidden to do?

Its not, but I guess you should have mentioned that. Take a look at
some driver that uses set_blocking for the neccessary locking...

Best regards,
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux