[rtc-linux] Re: rtc: RV8803: BUG: scheduling while atomic
From: Alexandre Belloni <hidden>
Date: 2016-02-03 11:07:47
Hi, On 03/02/2016 at 01:31:21 -0800, dirk.behme@gmail.com wrote :
Testing the RV8803 driver [1] we are getting several "BUG: scheduling while atomic" [2]. Having a quick look this might be from rv8803_set_time() holding a spinlock during the call to i2c_smbus_read_byte_data()? Any ideas?
Yes, that is probably the case. As this is already a threaded irq, it can probably be changed into a mutex this would solve the issue. Can you try that? I don't have much time to do it myself right now. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- -- You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. --- You received this message because you are subscribed to the Google Groups "rtc-linux" group. To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout.