msm: bam_dmux: UL inactivity timeout is too high

Reduce UL_TIMEOUT from 1000 ms to 200 ms to improve current drain
for idle use case.

Change-Id: I83eba12e28506735ff15f52533dda653872fc9f2
Signed-off-by: Alexander Filonenko <vtp684@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/538334
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Connie Zhao <czhao1@motorola.com>
Reviewed-by: Check Patch <CHEKPACH@motorola.com>
Reviewed-by: Klocwork kwcheck <klocwork-kwcheck@sourceforge.mot.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
Reviewed-by: Igor Kovalenko <cik009@motorola.com>
Reviewed-by: Christopher Fries <c.fries@motorola.com>
SLT-Approved: Christopher Fries <c.fries@motorola.com>
Delay UL powerdown if BAM is in polling mode

Change-Id: I982c669863390d5ea828d8dd3158e76dab3163e9
Reviewed-on: http://gerrit.pcs.mot.com/548359
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Igor Kovalenko <cik009@motorola.com>
Reviewed-by: Klocwork kwcheck <klocwork-kwcheck@sourceforge.mot.com>
Reviewed-by: Alexander Filonenko <alexf@motorola.com>
SLT-Approved: Christopher Fries <c.fries@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
msm: bam_dmux: optimize UL inactivity timeout

Increase UL_TIMEOUT_DELAY to 300 ms to avoid most of powerdown attempts while
in polling mode.

Change-Id: Ibbcf641caac492357f78c1d6fd378609ea546c67
Signed-off-by: Alexander Filonenko <vtp684@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/548732
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Check Patch <CHEKPACH@motorola.com>
Reviewed-by: Klocwork kwcheck <klocwork-kwcheck@sourceforge.mot.com>
Reviewed-by: Igor Kovalenko <cik009@motorola.com>
SLT-Approved: Christopher Fries <c.fries@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
msm: bam_dmux: fix compilation issue

Change-Id: Ie4dd92ce622a1e59bd415b0d8ba25c1896b20fab
Signed-off-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>

Conflicts:
	arch/arm/mach-msm/bam_dmux.c
msm: bam_dmux: Remove SSR after shutdown_completion timeout

The modem restart introduced by following commit
3d04101 msm: bam_dmux: delay shutdown until DL polling is complete
is seen to be called incorrectly even when modem is up normally.

Avoid condition by:
1) Removed SSR upon shutdown completetion timeout to make
   behaviour similar to previous releases
2) Increased the SHUTDOWN_TIMEOUT_MS from 500ms to 2s as per QC suggestion

Change-Id: Ic7b9f5661b8eed8b12455a4295ff1b738e6a76b7
Signed-off-by: A. Kaul <w42726@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/624505
SLTApproved: Slta Waiver <sltawvr@motorola.com>
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Jayachandran Chinnakkannu <jayc@motorola.com>
Reviewed-by: Christopher Fries <c.fries@motorola.com>
Submit-Approved: Maulik Desai <amd093@motorola.com>
(cherry picked from commit 55b2454d4b0b0c1e81b20fdca88d5dd02021fb2c)
Reviewed-on: http://gerrit.pcs.mot.com/625599
Reviewed-by: Upgrade Build <dbbuild@motorola.com>
SLTApproved: Upgrade Build <dbbuild@motorola.com>
Submit-Approved: Upgrade Build <dbbuild@motorola.com>
Tested-by: Upgrade Build <dbbuild@motorola.com>
Merge branch 'dev' into my-aospv2-4.4
CPUFREQ Alucard GOV: small tune of cpus_down_rate to reduce idle drain.

*I see that any small app that create small load < 10% make gov
to rise freqs too high without any need.
so drain on idle + music app is higher than expected.
also heat building up without need.

this change effect bench testes on low load, for 1 fps.
but battery is more important.