misc: bluedroid_pm: set minimum CPU frequency
authorNagarjuna Kristam <nkristam@nvidia.com>
Mon, 28 Jan 2013 10:14:59 +0000 (15:14 +0530)
committerRiham Haidar <rhaidar@nvidia.com>
Tue, 5 Feb 2013 22:56:44 +0000 (14:56 -0800)
commit793ee6db726460b06d564bb3731896f1327c2452
treed40f6444a20188a22ffeda97c6299c6ee66d60cd
parent64795735d6271c1a0bf7ec19280221cf32eb5dc4
misc: bluedroid_pm: set minimum CPU frequency

A2DP streaming uses Software SBC encoder which needs certain minimum
frequency. After system resume, system starts scaling frequency from
lowest possible frequency to required operating frequency. If
starting frequency is lower than minimum frequency required for A2DP,
it might result in audio glitches for small duration. Specifying
minimum CPU frequency required to support A2DP solves this issue.

bluedroid_pm driver will configure minimum CPU frequency if specified
in bluedroid_pm platform data.

Bug 1199183

Change-Id: Ia1763ba7803d456442b28a6e1adfe2ff87827998
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/194636
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
drivers/misc/bluedroid_pm.c