radio-iris: Configure repeat count for PS string

- When FM Rx tuned to a station, not receiving complete PS string.
  SOC is not waiting for complete PS string. it is sending PS event
  even if it has part of PS string as well.
- Added support for setting repeat count for PS string
  to get refined PS string from receiver.

CRs-Fixed: 474719
Change-Id: I71c0c1c8af9488573c05d816c37982f9ed935a87
Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>
radio: iris: Add the parameter to turn on/off sig blend

FM driver will always enable the sig blend feature, it will cause
FM seperation failure during lab test.So add this new parameter
to disable the feature by adb command to pass the test.

Change-Id: I187d4e5fff4aabfb994a905e174bb8ce941e2c16
Signed-off-by: Sheng Fang <fsheng@codeaurora.org>
radio: iris: Add NULL pointer check

Dereferencing a NULL pointer may cause kernel crash,
Check for NULL pointer before dereferencing

Conflicts:
        drivers/media/radio/radio-iris.c

Change-Id: Ic3368d619d23c76702d95e0f69e41394e423a296
CRs-Fixed: 548404
Signed-off-by: Ayaz Ahmad <aahmad@codeaurora.org>
radio: iris: Bound check user space values

There is no bound check for arguments passed
from user space to kernel space. This may cause
fatal exceptions.

Change-Id: I944e8e5d6e3b12b75df4e6cee7887075237b4411
CRs-Fixed: 546081
Signed-off-by: Ayaz Ahmad <aahmad@codeaurora.org>
radio: iris: Fixed an issue with search stations list.

RDS search, search station list were getting excluded
while checking bounds for allowed search types. Fixed
check to include them.

CRs-fixed: 597996
Change-Id: Ia2d7cc8a1bbf8e861a0e23dfc8ca56181b42b810
Signed-off-by: Satish Kodishala <skodisha@codeaurora.org>
radio: iris: Use #define to declare numerical constants

* Declaring these as actual types causes duplicate symbol problems
  when compiling IRIS as a kernel builtin.

Change-Id: Id180bc196caaa12d0755a9159af9660419558a56
m7 kernel: Add FM radio support

Build IRIS into the kernel for the m7

Change-Id: I38aaeed50e3b6fbba4da8854eba32d759bdb9acc
staging: prima: Merge AU_LINUX_ANDROID_KK_2.7_RB1.04.04.04.007.066

Merge "Merge AU_LINUX_ANDROID_KK_2.7_RB1.04.04.04.007.066 on remote branch"
Merge AU_LINUX_ANDROID_KK_2.7_RB1.04.04.04.007.066 on remote branch
Merge "Merge "wlan: add check for size of cache aligned skb->data""
Merge "wlan: add check for size of cache aligned skb->data"
wlan: add check for size of cache aligned skb->data
Merge "Merge "wlan:Fix kernel panic while TDLS exit.""
Merge "wlan:Fix kernel panic while TDLS exit."
Merge "wlan: do not process HT IE change if RoC is in progress"
wlan:Fix kernel panic while TDLS exit.
Merge "Merge "wlan: Disable TX Async logic.""
Merge "wlan: Disable TX Async logic."
wlan: Disable TX Async logic.
Merge "Merge "wlan: Avoid the race conditon when deauth ind is stuck.""
Merge "wlan: Avoid the race conditon when deauth ind is stuck."
wlan: Avoid the race conditon when deauth ind is stuck.
Merge "Merge "Send response to SME when switch channel fails.""
Merge "Send response to SME when switch channel fails."
Merge "wlan: Fail to load driver if INI file is corrupted"
wlan: Fail to load driver if INI file is corrupted
wlan: do not process HT IE change if RoC is in progress
Send response to SME when switch channel fails.
Merge "Merge "wlan: Fix kernel panic calling ioctl setTrafficMon.""
Merge "wlan: Fix kernel panic calling ioctl setTrafficMon."
Merge "wlan: Fix dangling pAdapter pointer in HDD."
Merge "wlan: Return failure if NV is not proper"
Merge "wlan: Avoid race condition in locking of tx queues per staId."
Merge "wlan: Add NULL check for FTM ioctls."
Merge "wlan: Increase the SSR WAIT time"
wlan: Fix kernel panic calling ioctl setTrafficMon.
wlan: Add NULL check for FTM ioctls.
wlan: Increase the SSR WAIT time
wlan: Fix dangling pAdapter pointer in HDD.

Change-Id: I363cdb920ab83b2b772361b2ed7b7bb61e0c118c
[WIP]t6: update memory map based on newer source

Change-Id: I7f6fa63f079853ee5e0ad03b11aba499d986e769