summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/max9850.h
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2011-05-26 19:39:20 -0700
committerKevin Hilman <khilman@ti.com>2011-11-08 11:42:17 -0800
commit1c78217fc8c0983f5768a2d1c17c022f1079751e (patch)
tree4573ab5b78a0722f399cc599a6ae83ccd7099ee2 /sound/soc/codecs/max9850.h
parent11e04fdd98f0fd6edf1ad6eccb0db4d2f965c392 (diff)
downloadblackbird-obmc-linux-1c78217fc8c0983f5768a2d1c17c022f1079751e.tar.gz
blackbird-obmc-linux-1c78217fc8c0983f5768a2d1c17c022f1079751e.zip
cpufreq: OMAP: fix freq_table leak
We use a single frequency table for multiple CPUs. But, with OMAP4, since we have multiple CPUs, the cpu_init call for CPU1 causes freq_table previously allocated for CPU0 to be overwritten. In addition, we dont free the table on exit path. We solve this by maintaining an atomic type counter to ensure just a single table exists at a given time. Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'sound/soc/codecs/max9850.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud