cpufreq:governor: Add serialization to the cpufreq_governor_dbs() function
authorLukasz Majewski <l.majewski@samsung.com>
Wed, 2 Apr 2014 10:14:25 +0000 (12:14 +0200)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 15 May 2014 05:28:24 +0000 (07:28 +0200)
commit487eae7558ec1f069d054f46ade3603290105739
treea3cca74d5864990d8bf79cf1c31462f2db0028c8
parent77c901d9fd906db7384fc9eefc36ab633e9f23cf
cpufreq:governor: Add serialization to the cpufreq_governor_dbs() function

It is necessary to serialize access to cpufreq_governor_dbs() function, since
it can be accessed from different, not protected by any mutex paths like
sysfs boost attribute or LAB governor internals.

Change-Id: Id7b62db6ca0b7c28f5e8c6286aec312d3d0c971e
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
drivers/cpufreq/cpufreq_governor.c