Hi! > Improve critical sections on rz_mtu3_start_stop_ch() and > rz_mtu3_is_enabled() by moving offset and bitpos computation > outside the critical section and drop the 'ret' variable on > rz_mtu3_is_enabled() and return 'tstr & BIT(bitpos)' directly. Thanks for the patch. Reviewed-by: Pavel Machek <pavel@xxxxxxx> This is an improvement, but we'll need to move away from raw_spin_lock code. I asked tglx, raw_spin_lock is not okay to use without very clear reason. 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