diag: Add concurrency protection to writes on smd data channels

Currently, diag does not protect against multiple threads writing
on a diag smd data channel at the same time. Make changes to protect
against concurrent writes on the same smd data channel.

CRs-Fixed: 455354

Change-Id: I6892db6ab55c402959b65a1eaad2f985094455ad
Signed-off-by: Dixon Peterson <dixonp@codeaurora.org>
msm: board-msm7627a-wlan: Fix incorrect wlan regulator cleanup

Wlan regulator handlers which are obtained in qrf6285_init_regs()
should not be freed. Freeing those handler using regulator_put()
would cause power regulator module to access invalid handlers in
sup-sequence power up/down sequence and lead kernel to panic.
This patch removes regulator_put() call in wlan_switch_regulators().

During power down sequence, there are changes in wlan_switch_regulators()
to enter into infinite while loop (ie, index is not decremented for power
down case). Fixed now.

Current wlan_switch_regulators() functions ignores to turn of all wlan
regulator when one of wlan regulator turn off fails. Ideally, it should
try to turn off all wlan related regulators without considering failures.

CRs-fixed: 471086
Change-Id: Ia4dbf81a3edd12ccbcf4d5870615549cb63dfbc3
Signed-off-by: Jimmy Chen <jzchen@codeaurora.org>
msm: cpr: Bump up nom and turbo Vmin for 1GHz devices

For the 1GHz 8x25V2.0 devices, the minimum voltage
requirement is being raised for floor_fuse=0x3 devices
as per chip characterization team's recommendation.
Nominal Vmin is raised from 1.15V to 1.175V and Turbo
Vmin is raised from 1.15V to 1.2V.

CRs-Fixed: 468601
Change-Id: I6ed7a9bd5e2e3e0a550e819e4709be82f135771d
Signed-off-by: Kaushal Kumar <kaushalk@codeaurora.org>
Merge "msm: board-msm7627a-wlan: Fix incorrect wlan regulator cleanup"
Merge "diag: Add concurrency protection to writes on smd data channels"
Merge "msm: cpr: Bump up nom and turbo Vmin for 1GHz devices"