Hi! > As per kernel documentation, use raw_spinlock_t only in real critical core > code, low-level interrupt handling, and places where disabling preemption > or interrupts is required. Here the lock is for concurrent register access > from different drivers, hence spin_lock() is sufficient. Reviewed-by: Pavel Machek <pavel@xxxxxxx> Thanks for doing this! Best regards, Pavel -- DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Attachment:
signature.asc
Description: PGP signature