diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2013-01-31 09:03:22 +0000 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2013-02-06 14:13:57 +0800 |
commit | b2bbc6a2ace78eaca2f6482b58b984519aa783ac (patch) | |
tree | 1273d37753c5eaffde6f8627dd432a6299c9c5d7 /drivers/misc/fsa9480.c | |
parent | f8f53e1874c2dfddf4c6dc69008ba85d6de4d944 (diff) |
thermal: rcar: use mutex lock instead of spin lock
Current R-Car thermal driver is using spin lock for each
registers read/write, but it is pointless lock.
This lock is required while reading temperature,
but it needs long wait (= 300ms).
So, this patch used mutex lock while reading temperature,
instead of spin lock for each registers.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/misc/fsa9480.c')
0 files changed, 0 insertions, 0 deletions