Skip to content
Commit 9d1fa4c3 authored by Oleksij Rempel's avatar Oleksij Rempel Committed by Alexandre Belloni
Browse files

rtc: rv8803: convert spin_lock to mutex_lock



Fix a scheduling while atomic issue caused by rv8803_set_time()
holding a spinlock during the call to i2c_smbus_read_byte_data().

Signed-off-by: default avatarOleksij Rempel <fixed-term.Oleksij.Rempel@de.bosch.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
parent 7444845b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment