diff options
| author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2015-11-19 16:56:44 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-06-06 16:46:22 +0200 |
| commit | bc6909d79f211823ded993786a23bca1737f9386 (patch) | |
| tree | a0459e8ebd7aa425120da8d95e43d6a823c9dc91 /tools/perf/scripts/python | |
| parent | 90c9e4d18d785c3ae4ddd8df42a0cea5c3d05de2 (diff) | |
i2c: rcar: remove spinlock
commit ff2316b87a336bff940939cd9fc56287ed48e578 upstream.
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>
Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Chris Paterson <Chris.Paterson2@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
