commit | b2bbc6a2ace78eaca2f6482b58b984519aa783ac | [log] [tgz] |
---|---|---|
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | Thu Jan 31 09:03:22 2013 +0000 |
committer | Zhang Rui <rui.zhang@intel.com> | Wed Feb 06 14:13:57 2013 +0800 |
tree | 1273d37753c5eaffde6f8627dd432a6299c9c5d7 | |
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>