Bluetooth: Update auth type based on link key type

This patch updates connection authentication type, before sending
new authentication request to remote device when remote device has
removed the link key. This is done based on existing link key type.
If Existing link key type is Authenticated Link Key, then
authentication type is reset to Dedicated Bonding from General
Bonding.

Change-Id: I077f9223185a85ff4adf87a4d7f43758b24bcd1e
CRs-Fixed: 522813
Signed-off-by: Hemant Gupta <hemantg@codeaurora.org>
msm: audio: qdsp5: Fix to Update acdb_audpp_entry in device switch

-Issue: Parameters of acdb_audpp_entry like, AUDIO_NS_TX, AUDIO_AGC_TX,
AUDIO_IIR_TX is not updating when device switched during recording.
-Incorrect audio session information getting updated to acdb driver
during audio preproc enable call back.
-Fix: By updating the value of acdb_data.audrec_applied variable when
device got changed, acdb_audpp_entry's parameters are getting update.
-By updating audio recording session before calling audio preproc enable.

Change-Id: I224d626ccce0f91eccc29890d870ff98d7fb05ce
CRs-Fixed: 509455
Signed-off-by: Nitesh Bhardwaj <nbhard@codeaurora.org>
Merge "Bluetooth: Update auth type based on link key type"
Merge "msm: audio: qdsp5: Fix to Update acdb_audpp_entry in device switch"
ARM: 7527/1: uaccess: explicitly check __user pointer when !CPU_USE_DOMAINS

The {get,put}_user macros don't perform range checking on the provided
__user address when !CPU_HAS_DOMAINS.

This patch reworks the out-of-line assembly accessors to check the user
address against a specified limit, returning -EFAULT if is is out of
range.

[will: changed get_user register allocation to match put_user]
[rmk: fixed building on older ARM architectures]

CRs-Fixed: 504011
Change-Id: I3818045a136fcdf72deb1371b132e090fd7ed643
Reported-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Cc: stable@vger.kernel.org
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Git-commit: 8404663f81d212918ff85f493649a7991209fa04
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Merge "ARM: 7527/1: uaccess: explicitly check __user pointer when !CPU_USE_DOMAINS"