radio: iris: Mark radio_hci_smd_init as __init

Change-Id: I37aba71dc5fdee00054172ed46a20d93c3e77766
radio: iris: Initialize radio-iris for built-in iris-transport

Change-Id: Id0d9a36f93ec387e08be3d041e60113d2cf75aa8
msm: HTC: m4: Remove alternate RPM regulator config

* HTC did away with this in the latest kernel drop.
* HTC kernel package m4ul-3.4.10-g3862988

Change-Id: I408c03a63d5a832c53a93684d312beacff5c4b7b
msm: HTC: m4: Update panel driver

* HTC kernel package m4ul-3.4.10-g3862988

Change-Id: I1a91d089c7399e0f2cf23e02a910ce8d34fee913
msm: HTC: m4: Update defconfig

Trim some fat and bring more in line with other devices.

Change-Id: If8384cb40ae376211415cd735c5d2cfb2fea1853
msm: HTC: m4: Add clock sleep control for bcm4334

Change-Id: I6656a4b5257ad2b1871609db06033843beea0232
msm: HTC: m4: Cleanup board files

Change-Id: I440a5b63d72f6f063f5a3f0dce30be05375c3d0e
mfd: pm8xxx-pwm: Work around broken LED toggling behaviour on PM8038

* HTC kernel package m4ul-3.4.10-g3862988

Change-Id: I879bea909c9eb58da8fac50137e9e8b545dc78a0
msm: 8930: Set MSM8930 boot address for all HTC MSM8930

* accomodate for other devices
* this will allow us to support other devices in the HTC msm8930 family.

Change-Id: If5aaeb334465f78f9562d8ad0b7653b6363e8a9b
msm: HTC: m4: Update qseecom bus scaling data

Change-Id: I3b6016a05ed76684888270d3adad8422a3797d99
msm: HTC: m7: regenerate defconfig

Change-Id: I1a2e601cbfc728e605270dfda558151349170fa2
drivers: net: wireless: add HTC's bcmdhd_4335_mcc

From m7stockui-3.4.10-gef77362.

Modifications from stock HTC driver:
* Remove poorly commented-out CFLAGS section from Makefile
* Make CONFIG_BCMDHD_4335_MCC select WIRELESS_EXT, WEXT_PRIV
* Fix msm_watchdog.h include in dhd_sdio.c
* Our kernel does not need OLD_CFG_80211; removing this flag also
  required the following fixes in wl_cfg80211.c
  - L292: ifdef out used_default_ssid
  - L6698-6702: ifdef out usage of wl_cfg80211_hostapd_sec()

Changes outside of driver: Make necessary additions (and block with
CONFIG_BCMDHD_4335_MCC where appropriate) in:
* drivers/mmc/host/msm_sdcc.c
* include/linux/ieee80211.h
* include/linux/nl80211.h
* include/linux/wlan_plat.h

Change-Id: I405010d3ae0fc3586de2a2aa3ffaab01909ddcde
msm: HTC: m7: use bcmdhd_4335_mcc wifi driver

Change-Id: I04794a629aebfaddd30c95337b977781b445a236
radio: iris: Expose FM Radio commands and events to user-space

Move the FM command and event structure declarations to separate header
file and include it in FM Radio driver.

Change-Id: Id664eab476240a54a1bc8db656bc9dc95a252bdb
CRs-Fixed: 436286
Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>
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