commit | ff2316b87a336bff940939cd9fc56287ed48e578 | [log] [tgz] |
---|---|---|
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | Thu Nov 19 16:56:44 2015 +0100 |
committer | Wolfram Sang <wsa@the-dreams.de> | Mon Nov 30 14:20:46 2015 +0100 |
tree | 581720408328b6c7d7ddcf75e80d2f0d08b53631 | |
parent | 90f779e565bdc18dd4f79d81cf11f43a7266010b [diff] |
i2c: rcar: remove spinlock After making sure to reinit the HW and clear interrupts in the timeout case, we know that interrupts are always disabled in the sections protected by the spinlock. Thus, we can simply remove it which is a preparation for further refactoring. While here, rename the timeout variable to time_left which is way more readable. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>