Wu, Hao [Thu, 17 May 2012 07:23:19 +0000 (15:23 +0800)]
usb/core: add uevent notification interface for usb warnings
BZ: 30607
This patch added basic notification function used to send uevents
to userspace for usb warnings.
Change-Id: I8cac8481d087a59eb069971207e75bb97ab7f3b5
Signed-off-by: Wu, Hao <hao.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/49176
Reviewed-by: Zhuang, Jin Can <jin.can.zhuang@intel.com>
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: Tang, Jianqiang <jianqiang.tang@intel.com>
Reviewed-by: Meng, Zhe <zhe.meng@intel.com>
Tested-by: Meng, Zhe <zhe.meng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Pankaj Mistry [Thu, 17 May 2012 09:42:47 +0000 (15:12 +0530)]
ctp_charger: fix the temperature look up logic.
BZ: 36483
This patch fixes the temperature look up logic in
ctp_sfi_temp_range_lookup. This patch also cleans up the SFI
table population in ctp_sfi_table_populate.
Change-Id: I43ebae25f47525fc455be1eaa251033318c1be0a
Signed-off-by: Pankaj Mistry <pankaj.mistry@intel.com>
Reviewed-on: http://android.intel.com:8080/49212
Reviewed-by: Pallala, Ramakrishna <ramakrishna.pallala@intel.com>
Reviewed-by: Tank, Jayesh KumarX <jayesh.kumarx.tank@intel.com>
Reviewed-by: Pandey, Raj <raj.pandey@intel.com>
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Yanmin Zhang [Thu, 19 Apr 2012 07:11:05 +0000 (15:11 +0800)]
sched: fix OOPS when build_sched_domains percpu allocation fails
BZ:30950
Under extreme memory used up situation, percpu allocation
might fails. We hit it when waking up system from suspend-to-ram.
Change-Id: I846f463a9d4af9801e7ac2da3a3d0daf7bcc6e82
Signed-off-by: Yanmin Zhang <yanmin.zhang@intel.com>
Signed-off-by: he, bo <bo.he@intel.com>
Reviewed-on: http://android.intel.com:8080/43977
Reviewed-by: Liu, ShuoX <shuox.liu@intel.com>
Reviewed-by: Hogander, Jouni <jouni.hogander@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Mansoor, Illyas <illyas.mansoor@intel.com>
Reviewed-by: Yang, Fei <fei.yang@intel.com>
Tested-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Samu Onkalo [Thu, 17 May 2012 10:34:08 +0000 (13:34 +0300)]
audio:sst: Flush message reply wq before allowing runtime suspend to exit
BZ: 32221
Audio IPC message processing happens in a workqueue while the runtime
suspend in running in different context. There is a race condition
between those. Sometimes runtime suspend turns the audio sub system off
before the message workqueue is finished. At the end of the
message handling there are writes to audio sub system registers.
Flush the message handling workqueues before leaving the runtime_suspend
call. This guarantees that the other activity is properly finished.
Change-Id: I1612fb3206a186b0877f0c8dc94bf0ee40c9dfe5
Signed-off-by: Samu Onkalo <samu.onkalo@intel.com>
Signed-off-by: Ramesh Babu K V <ramesh.babu@intel.com>
Reviewed-on: http://android.intel.com:8080/49229
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Reviewed-by: Koul, Vinod <vinod.koul@intel.com>
Reviewed-by: Gupta, ArvindX K <arvindx.k.gupta@intel.com>
Reviewed-by: Hibare, PramodX <pramodx.hibare@intel.com>
Tested-by: Hibare, PramodX <pramodx.hibare@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Samu Onkalo [Thu, 17 May 2012 10:13:01 +0000 (13:13 +0300)]
audio:sst: Change work queues to singlethread work queues
BZ: 32221
There is one worker in each of the work queues. Having three per-cpu
work queues are little bit overkill. Singlethread work queues are
more than enough.
Change-Id: If8e96fea61d15ac761984293fac4e10812173c53
Signed-off-by: Samu Onkalo <samu.onkalo@intel.com>
Reviewed-on: http://android.intel.com:8080/49228
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Reviewed-by: Koul, Vinod <vinod.koul@intel.com>
Reviewed-by: Babu, Ramesh <ramesh.babu@intel.com>
Reviewed-by: Gupta, ArvindX K <arvindx.k.gupta@intel.com>
Reviewed-by: Hibare, PramodX <pramodx.hibare@intel.com>
Tested-by: Hibare, PramodX <pramodx.hibare@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Namarta Kohli [Wed, 9 May 2012 09:45:32 +0000 (15:15 +0530)]
Audio: Synchronous message posting for ALSA trigger commands
BZ: 34971
In SST driver, whenever ALSA trigger commands are received from alsa framework,
driver schedules work queue. Inside work queue, IPC message to LPE will be
sent.There will few milli seconds (depends on kernel threads) delay between
acknowledging ALSA with trigger command and actual start of operation by LPE.
ALSA expects trigger commands to be handled immediately and hence it is called
atomically.
Modify audio driver to post trigger message synchronously when trigger command
is received.
Change-Id: Ibb638e355bc06fac1923141b868be947238196b2
Signed-off-by: Namarta Kohli <namartax.kohli@intel.com>
Reviewed-on: http://android.intel.com:8080/47948
Reviewed-by: Abdullah, Omair M <omair.m.abdullah@intel.com>
Reviewed-by: Koul, Vinod <vinod.koul@intel.com>
Reviewed-by: Gupta, ArvindX K <arvindx.k.gupta@intel.com>
Reviewed-by: Hibare, PramodX <pramodx.hibare@intel.com>
Tested-by: Hibare, PramodX <pramodx.hibare@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Illyas Mansoor [Tue, 8 May 2012 03:46:08 +0000 (09:16 +0530)]
mid_pmu: remove forever loop while shutdown in progress
BZ: 31284
DUT hangs while ctrl-alt-del key is pressed, this is
caused because of a forever loop in pmu_pci_set_power_state
that was used to block d0ix commands from causing IPC commands
blocking the shutdown process.
Now that we have removed the restriction of IPC/PMU command
synchrnoization this can also be removed.
Acknowledgement:
Tu, Xiaobing <xiaobing.tu@intel.com> root caused this issue.
Change-Id: I6bd4762a65d3e77c7d130660d831bb1297730eb6
Signed-off-by: Illyas Mansoor <illyas.mansoor@intel.com>
Tested-by: Tu, Xiaobing <xiaobing.tu@intel.com>
Reviewed-on: http://android.intel.com:8080/47722
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Yang, Fei <fei.yang@intel.com>
Reviewed-by: Cuesta, FernandX <fernandx.cuesta@intel.com>
Tested-by: Cuesta, FernandX <fernandx.cuesta@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
gwang23 [Thu, 17 May 2012 03:47:05 +0000 (11:47 +0800)]
Graphics: Dump the Commands in Queue when SGX timeout
BZ: 32306
Add command dump remained in Queue when SGX timeout. Help to debug
SGX timeout/recovery issues.
Change-Id: I13e913b9fd1d4d9f7db1077b35fce35ddc814325
Signed-off-by: gwang23 <gang.a.wang@intel.com>
Reviewed-on: http://android.intel.com:8080/49157
Tested-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Tested-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
gwang23 [Thu, 17 May 2012 02:58:48 +0000 (10:58 +0800)]
Graphics: Fix a NULL issue in PVRSRVInsertCommandKM
BZ: 35113
In the normal path, the psSwapChain->ppsLastSyncInfos[j] would not
be NULL. But in some error exit path, for example, PVRSRVGetQueueSpaceKM
failed, the psSwapChain->ppsLastSyncInfos[j] may be NULL.
Need to filter out the NULL in psSwapChain->ppsLastSyncInfos.
Change-Id: Ieba6c3659c77f3341f8ddf8003a0f10a13b772fd
Signed-off-by: gwang23 <gang.a.wang@intel.com>
Reviewed-on: http://android.intel.com:8080/49132
Reviewed-by: Tu, Yun <yun.tu@intel.com>
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: Hu, Austin <austin.hu@intel.com>
Tested-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Ke Ai [Thu, 17 May 2012 02:14:36 +0000 (10:14 +0800)]
GFX-Display: fix CABC control interface not work
BZ: 35376
1. CABC disable and enable control is missing, when
some one add code to control CABC backlight reduce range
according backligh level.
2. if control interface not work, the CABC will be always
on , then we can not measure the power reduce.
Change-Id: I5e7e33b0f8fe2656e63afb3a14f01f7c2ea8969d
Signed-off-by: Ke Ai <ke.ai@intel.com>
Reviewed-on: http://android.intel.com:8080/49122
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: Geng, Xiujun <xiujun.geng@intel.com>
Tested-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Ke Ai [Wed, 16 May 2012 03:26:12 +0000 (11:26 +0800)]
GFX-display: improve panel on/off path
BZ: 24684
1. add recovery mechanism when dsi
controller abnormal, such as FIFO not empty.
2. avoid duplicate setting for DPI controll
let SHUT_DOWN and TURN_ON symmetrical.
3. move mipi port disable before panel power off.
which symmetrical with power on case
Change-Id: I2a6c5f0b0984fadeb96988589b6d0eb9a398be37
Signed-off-by: Ke Ai <ke.ai@intel.com>
Reviewed-on: http://android.intel.com:8080/48900
Reviewed-by: Pan, Zhenjie <zhenjie.pan@intel.com>
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: Geng, Xiujun <xiujun.geng@intel.com>
Tested-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Hitesh K. Patel [Tue, 15 May 2012 23:18:54 +0000 (16:18 -0700)]
GFX-Display: Disable HDMI with Config option
BZ: 36600
Enzo BZ: 984
When using CONFIG_MDF_HDMI flag not all the HDMI components
were being disabled. This patch should fix the issue.
Change-Id: I76ce864d86d8c5c48b1da5f68950b5b4b15d289a
Signed-off-by: Hitesh K. Patel <hitesh.k.patel@intel.com>
Reviewed-on: http://android.intel.com:8080/48870
Reviewed-by: Hu, Austin <austin.hu@intel.com>
Reviewed-by: Ai, Ke <ke.ai@intel.com>
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: Zhang, Lei <lei.zhang@intel.com>
Reviewed-by: Geng, Xiujun <xiujun.geng@intel.com>
Reviewed-by: Xue, YifeiX <yifeix.xue@intel.com>
Tested-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Lei Zhang [Tue, 8 May 2012 02:09:27 +0000 (10:09 +0800)]
Gfx-display: fix issue of screen mess on HDMI during MT call
BZ: 34312
This issue is because under the scenario of playing video while receiving
a MT call, the size and stride of HDMI plane are set to be the video size.
When restore the surface to be init_screen, as the size and stride are not
correct, it will show the messy picture on HDMI.
Fix this issue by adding the restore of init_screen size and stride.
Change-Id: I0e757ed1d9788fca2b10958e9814cd2ed72f9d21
Signed-off-by: Lei Zhang <lei.zhang@intel.com>
Signed-off-by: Geng Xiujun <xiujun.geng@intel.com>
Signed-off-by: Lei Zhang <lei.zhang@intel.com>
Reviewed-on: http://android.intel.com:8080/47713
Reviewed-by: Ai, Ke <ke.ai@intel.com>
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Tested-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Nicolas LOUIS [Fri, 18 May 2012 12:33:41 +0000 (14:33 +0200)]
Revert "[REVERT ME] hsi: increase TX timeout to 2.5 sec"
BZ: 31385
This reverts commit
16c0349d47b22b8385db11f6adc43b2fe5ac5153.
This reverts patch http://android.intel.com:8080/#/c/43104
Change-Id: If04d884676a14e23a8a82270c917b3f4bab4a924
Signed-off-by: Nicolas LOUIS <nicolasx.louis@intel.com>
Reviewed-on: http://android.intel.com:8080/49402
Reviewed-by: Predon, Frederic <frederic.predon@intel.com>
Reviewed-by: Robert, Denis <denis.robert@intel.com>
Tested-by: Robert, Denis <denis.robert@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
faxing [Wed, 9 May 2012 17:20:48 +0000 (10:20 -0700)]
GFX-Display: SW Method for ESD detection and recovery
BZ: 31620
Enzo Bugs: 665, 602, 762
1. This patch created a timer to monitor ESD error. If an ESD is detected, the display panel will be reset. It had been verified in Enzo's phone and CMI panel in CLV+
2. Fixed format error/warning by checkpatch
Signed-off-by: faxing <faxing.lu@intel.com>
Change-Id: I10fe4354510d4e1eb2e93029b948416c84fc5097
Signed-off-by: faxing <faxing.lu@intel.com>
Reviewed-on: http://android.intel.com:8080/48072
Reviewed-by: Ai, Ke <ke.ai@intel.com>
Reviewed-by: Patel, Hitesh K <hitesh.k.patel@intel.com>
Reviewed-by: Tong, BoX <box.tong@intel.com>
Tested-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Renaud de Chivre [Thu, 3 May 2012 09:04:39 +0000 (11:04 +0200)]
Audio Comms I2S Driver : Abort functionnality
BZ: 34596
Add abort command support in ssp driver.
Add enable/disable ssp APIs.
Change-Id: Ic512890cee8d257f44b72969f73ded6f5bb26134
Signed-off-by: Renaud de Chivre <renaud.de.chivre@intel.com>
Reviewed-on: http://android.intel.com:8080/47225
Reviewed-by: Mendi, EduardoX <eduardox.mendi@intel.com>
Tested-by: Mendi, EduardoX <eduardox.mendi@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Renaud de Chivre [Thu, 3 May 2012 12:12:40 +0000 (14:12 +0200)]
Audio Comms I2S Driver : update for MRFL
BZ: 30374
SSP driver update for Merrifield platform support.
Change-Id: I3c4066064f066f335d02140c40ceb2bf46cbcb8e
Signed-off-by: Renaud de Chivre <renaud.de.chivre@intel.com>
Reviewed-on: http://android.intel.com:8080/42557
Reviewed-by: Mendi, EduardoX <eduardox.mendi@intel.com>
Tested-by: Mendi, EduardoX <eduardox.mendi@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Renaud de Chivre [Thu, 3 May 2012 08:47:38 +0000 (10:47 +0200)]
Audio Comms I2S Driver : cleanup
BZ: 34579
Code cleanup and reorganization.
Add a macro that helps to define registers' fields.
Add some logs.
Change-Id: I3aa5c9b86d3dc25fa7920604d14cabffd930e4ff
Signed-off-by: Renaud de Chivre <renaud.de.chivre@intel.com>
Reviewed-on: http://android.intel.com:8080/47224
Reviewed-by: Mendi, EduardoX <eduardox.mendi@intel.com>
Tested-by: Mendi, EduardoX <eduardox.mendi@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Selma Bensaid [Wed, 9 May 2012 12:11:07 +0000 (14:11 +0200)]
[AUDIO] ASOC SSP I2S: migration of ALSA SSP to ASOC Framework.
BZ: 8512
Migration of the modem mix and BT/FM alsa card to Alsa Asoc
framework. It will be actived in a later patch.
Change-Id: Ida7ad09e6124a4f1457268755e8af449d3a7f184
Signed-off-by: Francois Gaffie <francoisx.gaffie@intel.com>
Signed-off-by: Selma Bensaid <selma.bensaid@intel.com>
Reviewed-on: http://android.intel.com:8080/20357
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Mendi, EduardoX <eduardox.mendi@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Pavan Kumar S [Tue, 8 May 2012 08:35:57 +0000 (14:05 +0530)]
Battery: set POWER_SUPPLY_PROP_ONLINE appropriately.
BZ: 24596
POWER_SUPPLY_PROP_ONLINE property should be set to 1 as long as
the charger is in a healthy state.
This should be the case even if charging is disabled due to some error,
other than those related to the power-supply.
Change-Id: Ia0bb45334321c8161dd85d98bde0a565ed67033a
Signed-off-by: Pavan Kumar S <pavan.kumar.s@intel.com>
Reviewed-on: http://android.intel.com:8080/47775
Reviewed-by: Desurmont, David <david.desurmont@intel.com>
Tested-by: Desurmont, David <david.desurmont@intel.com>
Li, Ning [Thu, 3 May 2012 10:17:40 +0000 (18:17 +0800)]
ipc: fix sleep in atomic context during reboot
BZ: 34240
Currently we use intel_scu_ipc_simple_command() to send reset
command to SCU. If panic happens and reboot, there might be sleep
in atomic context. This patch fixes this issue.
Change-Id: Icb9fd26e0ac7e497679bc4090b68d4e8b7dcf35c
Signed-off-by: Li, Ning <ning.li@intel.com>
Reviewed-on: http://android.intel.com:8080/47366
Reviewed-by: Chen, Jie D <jie.d.chen@intel.com>
Reviewed-by: Yang, Fei <fei.yang@intel.com>
Reviewed-by: Yang, Bin <bin.yang@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Tested-by: Tang, HaifengX <haifengx.tang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Ramakrishna Pallala [Wed, 16 May 2012 13:28:25 +0000 (18:58 +0530)]
smb347_charger: enable debugs logs in charger driver
BZ: 36806
This adds the debug logs in driver to capture different event
from HW.
Change-Id: Ib36bcec218f6001fe30997da014e46de88ef7efa
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Reviewed-on: http://android.intel.com:8080/49021
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Reviewed-by: Gowdar, GurumurthyX <gurumurthyx.gowdar@intel.com>
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Ramakrishna Pallala [Wed, 16 May 2012 06:10:06 +0000 (11:40 +0530)]
max170xx_batteey: disable 71 model scaling for Redridge tablet
BZ: 36109
This patch disables the 71% model scaling on max17042 fuel gauge
for redridge as the config data we recieved is for 100% model.
To have good initial accuracy we need POR on the board. So this patch
also adds WA to do chip reset on FW update. This WA will be removed by
ww21 build.
Change-Id: I98374b46aa69ac11959fcf21314c5a58b8723046
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Reviewed-on: http://android.intel.com:8080/48945
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Reviewed-by: Gugwad, SantoshX <santoshx.gugwad@intel.com>
Reviewed-by: Kurtadkar, Yashodhan <yashodhan.kurtadkar@intel.com>
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Yu Wang [Tue, 8 May 2012 06:59:40 +0000 (14:59 +0800)]
xHCI: Add error handle for event completed handler.
BZ: 35199
This is klockwork tool build error. The ep_index variable possible equal
to -1, then cause the eps array overflow.
Change-Id: If7722a411d6cb415ba0481fc6a0e4784adc469f3
Signed-off-by: Yu Wang <yu.y.wang@intel.com>
Reviewed-on: http://android.intel.com:8080/47758
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Tested-by: Gao, Yunpeng <yunpeng.gao@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Yu Wang [Tue, 8 May 2012 02:53:07 +0000 (10:53 +0800)]
dwc_otg: Merge synopsys 2.10a release for dwc_otg driver.
BZ: 35160
This release was support hibernate mode which set disable by default. We
will open this feature when enable power management for DWC3 device and
xHCI driver.
Signed-off-by: Yu Wang <yu.y.wang@intel.com>
Change-Id: I09dd4ad46091eb4cfad069b5a484b181030e9853
Signed-off-by: Yu Wang <yu.y.wang@intel.com>
Reviewed-on: http://android.intel.com:8080/47714
Reviewed-by: Gao, Yunpeng <yunpeng.gao@intel.com>
Tested-by: Gao, Yunpeng <yunpeng.gao@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
jianqian [Thu, 12 Apr 2012 08:55:17 +0000 (16:55 +0800)]
usb host:Enable ACM/NCM class driver on VV board SPH
BZ: 31236
Add kernel config of ACM && NCM on VV board SPH
to let ACM class driver work with modem,
also NCM can work normally.
This is based SPH host controller can work normally
on VV board.
Signed-off-by: jianqian <jianqiang.tang@intel.com>
Change-Id: I942a72386609d6b09d0e9a8a35fc5a13aab7c76f
Reviewed-on: http://android.intel.com:8080/43253
Reviewed-by: Tang, Jianqiang <jianqiang.tang@intel.com>
Reviewed-by: Wang, Feng A <feng.a.wang@intel.com>
Reviewed-by: Wu, Hao <hao.wu@intel.com>
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: Meng, Zhe <zhe.meng@intel.com>
Tested-by: Meng, Zhe <zhe.meng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
jianqian [Thu, 12 Apr 2012 03:37:18 +0000 (11:37 +0800)]
usb host:Enable USB SPH Controller on VV Board.
BZ: 27557
Add feng.a.wang's patch for VV SPH.
In CloverTrail, a SPH is used to connect to Modem and others.
This patch need to use with New IFWI(See BZ25515) for detail.
Remaind: New IFWI in BZ25515 can not work with
public release for vibrator error during kernel boot up.
I have verified this patch can let HUB and kerboard work with
New IFWI and disable vibrator related function.
NCM and ACM support will in another patch.
Signed-off-by: jianqian <jianqiang.tang@intel.com>
Change-Id: Idac35407251e6134f06fedf77845f7238a788b3f
Reviewed-on: http://android.intel.com:8080/43211
Reviewed-by: Wu, Hao <hao.wu@intel.com>
Reviewed-by: Wang, Feng A <feng.a.wang@intel.com>
Reviewed-by: Tang, Jianqiang <jianqiang.tang@intel.com>
Reviewed-by: Zhuang, Jin Can <jin.can.zhuang@intel.com>
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: Meng, Zhe <zhe.meng@intel.com>
Tested-by: Meng, Zhe <zhe.meng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Fei Jiang [Wed, 9 May 2012 13:50:17 +0000 (21:50 +0800)]
kernel-drm: fix thumbernail scrambled issue when IED is enabled
BZ: 32464
Video kernel driver need query DRM_CNTL_STATE register to know whether IED is enabled. Then return the state to user space driver.
When widevine is running, IED will be enabled and video surface will be encrypted. So CPU will only get scambled image.
For that case, need return error for vaDeriveImage and vaGetImage.
Change-Id: I9da4dfa88af241fb0729695b4e9e8266e8583bb0
Reviewed-on: http://android.intel.com:8080/48098
Reviewed-by: Jiang, Fei <fei.jiang@intel.com>
Reviewed-by: Sun, Mingruo <mingruo.sun@intel.com>
Reviewed-by: Qiu, Junhai <junhai.qiu@intel.com>
Reviewed-by: Ding, Haitao <haitao.ding@intel.com>
Tested-by: Ding, Haitao <haitao.ding@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Benoit Romieu [Wed, 16 May 2012 18:22:24 +0000 (20:22 +0200)]
Revert "drivers/misc: ipanic should have a module parameter to specify dump partition"
BZ: 31275
This reverts commit
60115cd03e11228fc5b68105da13ccc021d0fb89.
Change-Id: I07c2181dcb1fa7d887943d11905cd07f9f8da3c7
Signed-off-by: Benoit Romieu <benoit.romieu@intel.com>
Reviewed-on: http://android.intel.com:8080/49075
Reviewed-by: Carpentier, Olivier <olivier.carpentier@intel.com>
Tested-by: Carpentier, Olivier <olivier.carpentier@intel.com>
Christophe Lebouc [Wed, 16 May 2012 13:29:05 +0000 (15:29 +0200)]
Upgrade board_ids management
BZ: 35949
Upgrade board_ids management
Change-Id: Iab11035e9fa148d7f36be46f5dd43e4dc04c08e4
Signed-off-by: Christophe Lebouc <christophe.lebouc@intel.com>
Reviewed-on: http://android.intel.com:8080/49010
Reviewed-by: Rimauro, Gilles <gilles.rimauro@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
liu chuansheng [Fri, 11 May 2012 11:59:30 +0000 (17:29 +0530)]
wakeup_log: adding the irq action name to output
BZ: 29086
This patch got left out when the code refactor happened
details:
When system wakeup from S3, current wakeup is as below:
[ 123.765635] wakeup from IRQ 67
We can not easily to know where is the IRQ from, unless
cat /proc/interrupts.
The changing is adding the action name to output, the traces
will like below:
[ 320.280637] wakeup from IRQ 67
[ 320.280643] IRQ 67,action name:msic_power_btn
Change-Id: Ibfb4e9cd65eb6ceaa1583d5bd2b27acaffa577cc
Orig-Change-Id: Ieda5eea7e51d0e98fb1ff213467e86d91fa62d37
Signed-off-by: liu chuansheng <chuansheng.liu@intel.com>
Reviewed-on: http://android.intel.com:8080/40767
Tested-by: Martin, LoicX <loicx.martin@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Signed-off-by: Sundar Iyer <sundar.iyer@intel.com>
Reviewed-on: http://android.intel.com:8080/48381
Reviewed-by: Martin, LoicX <loicx.martin@intel.com>
Illyas Mansoor [Mon, 14 May 2012 10:00:28 +0000 (15:30 +0530)]
wakelock: remove redundant sys_sync call in suspend
BZ: 36230
Redundant call to sys_sync() in wakelock.c
In wakelock.c@suspend()
suspend()->sys_sync()->pm_suspend()->enter_suspend()->sys_sync()
hence it is duplicate can be removed.
Change-Id: Ic558803d66694f89fa444fa264acf08943d456ba
Signed-off-by: Illyas Mansoor <illyas.mansoor@intel.com>
Reviewed-on: http://android.intel.com:8080/48682
Reviewed-by: Popescu, CatalinX <catalinx.popescu@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Yang, Fei <fei.yang@intel.com>
Tested-by: Martin, LoicX <loicx.martin@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Li, Ning [Fri, 13 Apr 2012 07:23:01 +0000 (15:23 +0800)]
intel_scu_fw_update: intel fw update driver
BZ: 31683
Based on currect IPC driver framework, it is not suitable to put
FW update code inside IPC bus driver. So we move it to a dedicated
FW update driver, to make it more clear in logic.
Signed-off-by: Li, Ning <ning.li@intel.com>
Change-Id: Ic2f4a98a1861cc6f137d1d2e67ec3e7ac9ce65fa
Reviewed-on: http://android.intel.com:8080/43377
Reviewed-by: Li, Ning <ning.li@intel.com>
Reviewed-by: Yang, Bin <bin.yang@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Reviewed-by: Yang, Fei <fei.yang@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Li, Ning [Tue, 24 Apr 2012 03:57:41 +0000 (11:57 +0800)]
ipc: enhance IPC driver interfaces
BZ: 31886
Add two external interfaces in IPC driver:
intel_scu_ipc_send_command() to send IPC command only,
intel_scu_ipc_check_status() to check IPC status.
Change-Id: If5fa62d0cc933a2e0a2cfc5069181596fc58e1a2
Signed-off-by: Li, Ning <ning.li@intel.com>
Reviewed-on: http://android.intel.com:8080/43850
Reviewed-by: Yang, Bin <bin.yang@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
German Monroy [Tue, 15 May 2012 00:14:19 +0000 (17:14 -0700)]
x86: Call idle notifiers
BZ: 35303
Google patched the idle loop for x86-64 (commit
1fd57f722c) and for ARM
(commit
41fa406c26), but they forgot x86-32.
This is preventing their interactive governor from upshifting CPU
frequencies in intel's SOC platforms (e.g. Medfield, etc.).
Fixing that.
NOTE: The notifier calls are not located in the same exact place in the
idle loop for x86-64 and ARM. The notifier is called inside the
`while(!need_resched)' loop in x86-64 and outside of it in ARM. Since
Google has likely tuned this governor for ARM, leaving it as in ARM.
Change-Id: Ibefd0c8f08e4b4c24c4a5c32dcdc574f9090b2b9
Signed-off-by: German Monroy <german.monroy@intel.com>
Reviewed-on: http://android.intel.com:8080/48858
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Yang, Fei <fei.yang@intel.com>
Reviewed-by: Kuppuswamy, Sathyanarayanan <sathyanarayanan.kuppuswamy@intel.com>
Tested-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Geng Xiujun [Mon, 14 May 2012 08:02:49 +0000 (16:02 +0800)]
gfx-display: optimize gfx late resume code for DVx
BZ: 33421
remove redundant code in mipi encoder mode set, and make some optimiaztions to make
gfx late resume faster for DVx. with this patch, time consumption of gfx_late_resume
is almost the same with PRx.
Change-Id: Ied6e1ade9874139bd69d8dbab1728f5516632151
Signed-off-by: Geng Xiujun <xiujun.geng@intel.com>
Reviewed-on: http://android.intel.com:8080/48654
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Tested-by: Tong, BoX <box.tong@intel.com>
Tested-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: Imberton, Guilhem <guilhem.imberton@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Robert Jarzmik [Fri, 11 May 2012 15:31:49 +0000 (17:31 +0200)]
drivers/misc: ipanic should have a module parameter to specify dump partition
BZ: 31275
Previously, dump partition was always number 6 (ie. mmcblk0p6). This
prevents repartitioning and reordering on futur boards.
This patch keeps 6 as the default, but makes the number configurable
as a module param :
- with kernel commandline emmc_ipanic.ipanic_part_number=3 for mmcblk0p3
Change-Id: Ia14be05f4d265778118e33707fb9dc81416bce91
Signed-off-by: Robert Jarzmik <robert.jarzmik@intel.com>
Reviewed-on: http://android.intel.com:8080/48482
Tested-by: Romieu, Benoit <benoit.romieu@intel.com>
Reviewed-by: Romieu, Benoit <benoit.romieu@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Jiebing Li [Tue, 8 May 2012 08:15:00 +0000 (16:15 +0800)]
enable ADB function with DWC3 USB device driver
BZ: 35178
This patch makes the following changes to support ADB:
1. add super/full speed support in Android ADB function
2. modify PID and VID in order to re-use Medfield Windows tool
3. set OUT transfer length to multiple of MaxPacketSize
Change-Id: I304833a1b91a426ed64fef773a9f364f93555cb9
Signed-off-by: Jiebing Li <jiebing.li@intel.com>
Reviewed-on: http://android.intel.com:8080/47774
Reviewed-by: Meng, Zhe <zhe.meng@intel.com>
Tested-by: Meng, Zhe <zhe.meng@intel.com>
Reviewed-by: Gao, Yunpeng <yunpeng.gao@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Pankaj Mistry [Fri, 11 May 2012 14:52:54 +0000 (20:22 +0530)]
EM/Battery: Enable temperature based charging use case on clovertrail.
BZ: 34235
This patch adds temprature based charging and extreme charging
use-cases. As part of the patch following has been added:
1. existing worker thread bq24192_maintenance_worker, tempearture
based charging capability
2. SFI table parsing for battery properties
3. Extreme charging capability via sysfs interface
4. Temperature reading capability via ADC
Change-Id: I207f71a620065655906e49e3783f5e910a5fa6b8
Signed-off-by: Pankaj Mistry <pankaj.mistry@intel.com>
Reviewed-on: http://android.intel.com:8080/46949
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Reviewed-by: Pandey, Raj <raj.pandey@intel.com>
Reviewed-by: Prasad, Lakshmi G <lakshmi.g.prasad@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Fei Yang [Tue, 27 Mar 2012 22:27:06 +0000 (15:27 -0700)]
SPID: Implement Soft_Platform_ID
BZ: 23571
Soft Platform ID is defined to enable single kernel and IFWI binary (per
SoC solution) that can be used in Over-The-Air payload delivery. Soft
Platform ID consists of 2-bytes customer ID, 2-bytes vendor ID, 2-bytes
manufacturer ID, 2-bytes platform family ID, 2-bytes product line ID, 2-bytes
hardware ID, and 10-bytes Field Replaceable Unit region. FRU is further
devided into 20 nibbles (4-bits each) to identify changeable
parts/components/devices of a specific hardware which need the attention
from FW and OS.
Only OEMB table version 4 or later supports SPID, the older versions only
populate board_id and board_fab which are deprecated by the introduction of
SPID.
D0 Penwell based products will not support SPID, kernel identifies these by
checking OEMB revision and board_id.
Change-Id: Ifc06b4b17434e41433932e0f126bb89b6d7779b2
Signed-off-by: Fei Yang <fei.yang@intel.com>
Reviewed-on: http://android.intel.com:8080/41046
Reviewed-by: Yoke, Nicholas J <nicholas.j.yoke@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Remy Protat [Wed, 16 May 2012 08:54:47 +0000 (10:54 +0200)]
Revert "BCU: implementation of BCU driver"
BZ: 34339
This reverts commit
d6e118240bc5c4c8e6a810ef0c157b8c18205cb4.
Change-Id: I197d6dd121e738d102414cccdbf260d57f10a21c
Signed-off-by: Remy Protat <remyx.protat@intel.com>
Reviewed-on: http://android.intel.com:8080/48965
Jason Hu [Tue, 15 May 2012 11:22:35 +0000 (19:22 +0800)]
Revert " Set primary plane format to RGBX."
BZ: 36187
This reverts commit
55cc11fb966881a95bd3328830729c2f3820234c.
Change-Id: I9807c77983c079b3bae9d723d8c5d789f6ccb1b2
Signed-off-by: Tong, Bo <box.tong@intel.com>
Reviewed-on: http://android.intel.com:8080/48828
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Reviewed-by: Protat, RemyX <remyx.protat@intel.com>
Tested-by: Protat, RemyX <remyx.protat@intel.com>
Selma Bensaid [Thu, 10 May 2012 09:14:35 +0000 (11:14 +0200)]
[ASoC Core] Backport ASoC cores patch for Multi platform's DAI support
BZ: 33508
To enable Audio Comms ASoC migration we need to enbale the Multi
platform's DAI support. Thus the following patches need to be
backported:
ASoC: soc-pcm: Remove unused global mutex
6fc562e49cb42792ff347f253fe9d026e8e16f34
ASoC: pcm - rename snd_codec_close() to snd_pcm_close().
91d5e6b4f5900cb46f92cd98d561a1a54bbca6b6
ASoC: core - PCM mutex per rtd
b8c0dab9bf3373010e857a8d3f1b594c60a348dd
ASoC: soc-pcm: Allocate PCM operations dynamically to support multiple DAIs
a500231da461cfe29541cb4b8422eb9bf59aa6ac
Change-Id: I64292b32dac2dbc974b41edcd8478051cb51bf55
Signed-off-by: Selma Bensaid <selma.bensaid@intel.com>
Reviewed-on: http://android.intel.com:8080/48251
Reviewed-by: Le Gall, Louis <louis.le.gall@intel.com>
Reviewed-by: Babu, Ramesh <ramesh.babu@intel.com>
Reviewed-by: Centelles, Sylvain <sylvain.centelles@intel.com>
Reviewed-by: Koul, Vinod <vinod.koul@intel.com>
Tested-by: Mendi, EduardoX <eduardox.mendi@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Ramakrishna Pallala [Sat, 12 May 2012 03:59:26 +0000 (09:29 +0530)]
platform_max17042: tune battery Over Voltage Detection value
BZ: 35786
This patch tunes the battery over voltage detection value to
4300mV which is aligned with charger OVP detection value.
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Change-Id: I689a4d288bab03ef313cce472becf93ac2a99539
Reviewed-on: http://android.intel.com:8080/48568
Reviewed-by: Gowdar, GurumurthyX <gurumurthyx.gowdar@intel.com>
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Reviewed-by: Singh, NavjotX <navjotx.singh@intel.com>
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Illyas Mansoor [Fri, 11 May 2012 14:20:26 +0000 (19:50 +0530)]
mid_pmu: double up() called for scu_ready_sem due to c6 offload timeout
BZ: 36028
when C6 offload fails pmu driver double up()'s the scu_ready_sem
causing unbalanced semaphore.
Increased the C6 offload timeout from 500usecs to 1.5msecs
fixed double up() scu_ready_sem.
Acknowledgement:
Onkalo, Samu <samu.onkalo@intel.com> for finding this bug.
Change-Id: Ie0c8a0fdd94ed386f09043f4ed13ce2a49fd4f23
Signed-off-by: Illyas Mansoor <illyas.mansoor@intel.com>
Reviewed-on: http://android.intel.com:8080/48447
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Hogander, Jouni <jouni.hogander@intel.com>
Tested-by: Martin, LoicX <loicx.martin@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Illyas Mansoor [Thu, 10 May 2012 18:11:47 +0000 (23:41 +0530)]
mid_pmu: otc ics pmu driver patches ported to umg ics
BZ: 34256
commit
c1e44f12ce693e1e49d409808a1da2de37182142
Author: Olev Kartau <olev.kartau@intel.com>
Date: Thu Mar 15 15:04:03 2012 +0200
pmu: interrupt status read value should be signed int
u8 status was used to store value from pmu_read_interrupt_status
which returns signed int. Comparing u8 to -1 could never match.
Also, split status and ret.value to differently typed variables.
Signed-off-by: Olev Kartau <olev.kartau@intel.com>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
commit
b123e410c7ae3019b2eecc7c7549002be559d45a
Author: Austin Zhang <austin.zhang@intel.com>
Date: Thu Feb 23 09:23:53 2012 -0800
KER-106: avoid s0i1-idle hang
Prevent re-entrant S0i1, just like we do for S0i3;
and thus avoid a system hang with S0i1 enabled.
https://sa.otcshare.org/jira/browse/KER-106
With this patch in place, and loglevel 15
(which works around GRA-27), S0i1 has never
been observed to hang during over-night testing.
Signed-off-by: Austin Zhang <austin.zhang@intel.com>
Tested-by: Yong Wang <yong.y.wang@intel.com
Tested-by: Kristen C. Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Change-Id: I3932e333ce123d1cf5d7e2dd8b80c258e872633e
Signed-off-by: Illyas Mansoor <illyas.mansoor@intel.com>
Reviewed-on: http://android.intel.com:8080/48298
Reviewed-by: Hogander, Jouni <jouni.hogander@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Popescu, CatalinX <catalinx.popescu@intel.com>
Tested-by: Martin, LoicX <loicx.martin@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Illyas Mansoor [Fri, 4 May 2012 15:18:45 +0000 (20:48 +0530)]
[PORT FROM R2] mid_pmu: retry d0ix if completion fails
BZ: 32634
We get kernel panic in pmu_pci_set_power_state() while
waiting for d0ix command completion interrupt, we timeout for
the d0ix completion interrupt and see that transition is still
not complete.
<2>[ 8519.381692] pmu_pci_set_power_state: completion timeout: 8086 0829 0000:00:02.3 penwell_otg:
<2>[ 8519.381934] interrupt pending = 0
<2>[ 8519.382019] pmu_busy_status = 0
<2>[ 8519.382097] suspend_started = 0
<2>[ 8519.382175] shutdown_started = 0
<2>[ 8519.382254] interactive_cmd_sent = 0
<2>[ 8519.382343] camera_off = 1 display_off = 1
<2>[ 8519.382442] s0ix_possible = 0xf
<2>[ 8519.382520] s0ix_entered = 0x0
<2>[ 8519.382596] pmu_current_state = 0
We will avoid setting the d0ix completion interrupt.
This should remove one of the variable that may affect
this issue.
Also we retry sending d0ix command, until it fails thrice or succeeds.
Change-Id: I00355647a4cba2f737f1d4ba6737eb40bdf465e0
Orig-Change-Id: I3804ee03ef8964cc37c151ce973a81f5ef82c286
Signed-off-by: Illyas Mansoor <illyas.mansoor@intel.com>
Reviewed-on: http://android.intel.com:8080/44452
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Martin, LoicX <loicx.martin@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Sylvain Pichon [Fri, 11 May 2012 17:16:50 +0000 (19:16 +0200)]
[WORKAROUND] FM: add an alsa controls to modify HSMIXER register
BZ: 32239
This allows to modify HSMIXER and mix PCM1+PCM2
(FM + media/alerts)
This is a wrokaround to enable use case and will
be implemented properly in BZ 36048
Change-Id: I4ecc27af6e2c8cdc77b62affd06057fe3c8043b3
Signed-off-by: Sylvain Pichon <sylvainx.pichon@intel.com>
Reviewed-on: http://android.intel.com:8080/48492
Reviewed-by: Mendi, EduardoX <eduardox.mendi@intel.com>
Reviewed-by: Koul, Vinod <vinod.koul@intel.com>
Tested-by: Mendi, EduardoX <eduardox.mendi@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Yun Tu(Mark Tu) [Thu, 23 Feb 2012 01:26:28 +0000 (09:26 +0800)]
[GFX-Display] add a watch dog for flip chain
BZ:32306
3D flip depends on vysnc interrupt by default, so 3D will get blocked if there are something
wrong on display vsync interrupt. Add this watch dog so we can flush flip queue once we detected
the missing of vsync interrupt and avoid ANR of appliaction
Change-Id: I91a85fea3fafdada124191ace73a967935cf295d
Signed-off-by: Yun Tu(Mark Tu) <yun.tu@intel.com>
Reviewed-on: http://android.intel.com:8080/48116
Reviewed-by: Wang, Gang A <gang.a.wang@intel.com>
Reviewed-by: He, Bo <bo.he@intel.com>
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: Ai, Ke <ke.ai@intel.com>
Reviewed-by: Zhang, Yanmin <yanmin.zhang@intel.com>
Tested-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
yifei.xue [Wed, 9 May 2012 07:57:53 +0000 (15:57 +0800)]
Graphics: Setting correct DSI PLL and MIPI DPHY parameters according the target DSI DataRate
BZ: 34504
Setting correct DSI PLL and MIPI DPHY parameters according the target DSI DataRate.
Signed-off-by: yifei.xue <yifeix.xue@intel.com>
Change-Id: Ieb2a0494178589c95097484c9b62f7ed8129b670
Reviewed-on: http://android.intel.com:8080/47939
Reviewed-by: Ai, Ke <ke.ai@intel.com>
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: Zhang, Lei <lei.zhang@intel.com>
Tested-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Chuanxiao Dong [Thu, 10 May 2012 10:38:49 +0000 (18:38 +0800)]
mmc: host: disable mmcblk0rpmb for MFLD projects
BZ: 35778
mmcblk0rpmb is not used in MFLD projects. Disable it.
Change-Id: I743e1937f86d181526252e21e19b1e55e7826a3f
Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com>
Reviewed-on: http://android.intel.com:8080/48221
Tested-by: Sun, Jianhua <jianhua.sun@intel.com>
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Kun Jiang [Thu, 10 May 2012 10:35:38 +0000 (18:35 +0800)]
i386_mfld_defconfig: Enable ipv6-tables
BZ: 28359
The ipv6-tables didn't open in the past so all the ip6tables operate fail.
When ipv6-tables had open, if CONFIG_NETFILTER_XT_MATCH_QUOTA and
CONFIG_NETFILTER_XT_MATCH_QUOTA2 didn't open, that the pc can't connect to
the internet through the phone(ap hot).
Open the config in i386_mfld_defconfig to enable the ipv6-tables and quota.
Change-Id: I1ccb1715011de7b81af04e4f5dbedc2e4248fd41
Signed-off-by: Kun Jiang <kunx.jiang@intel.com>
Reviewed-on: http://android.intel.com:8080/48218
Reviewed-by: He, Bo <bo.he@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Reviewed-by: Yang, Fei <fei.yang@intel.com>
Tested-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Fei Yang [Tue, 8 May 2012 00:10:22 +0000 (17:10 -0700)]
VPN: Enable PPP for VPN.
BZ: 28558
Port from R2, BZ: 18546.
Intel build can't connect to internet through VPN, but Borqs build can,
compare the code, I find that we need open some settings.
Signed-off-by: bxu10X <bxu10X@intel.com>
Reviewed-on: http://android.intel.com:8080/30089
Reviewed-by: Xu, BinX <binx.xu@intel.com>
Reviewed-by: Yin, Fengwei <fengwei.yin@intel.com>
Reviewed-by: Ren, Jack <jack.ren@intel.com>
Reviewed-by: Shen, JianchunX <jianchunx.shen@intel.com>
Reviewed-by: Li, XiaojingX <xiaojingx.li@intel.com>
Reviewed-by: Peng, BoX <box.peng@intel.com>
Reviewed-by: Tian, XiaojunX <xiaojunx.tian@intel.com>
Tested-by: Li, XiaojingX <xiaojingx.li@intel.com>
Change-Id: I3dd6d01a50bcc67a409c2ddcf2570b0b4c1bec5a
Reviewed-on: http://android.intel.com:8080/47700
Reviewed-by: Ji, WeiweiX <weiweix.ji@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Yang, Fei <fei.yang@intel.com>
Tested-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Raffaele Aquilone [Thu, 3 May 2012 08:31:56 +0000 (10:31 +0200)]
Bluetooth: synchronization for assigning names to HCI devices
BZ: 27942
Introducing a synchronization mechanism for assigning names to HCI devices,
sorting out a race condition that sometimes occurs, consisting in a device
reconnecting with the same name it already has before having completed
disconnection.
Change-Id: I9545886f24f81e16df3c8aa3459db20a8e268f46
Signed-off-by: Raffaele Aquilone <raffaelex.aquilone@intel.com>
Reviewed-on: http://android.intel.com:8080/47174
Reviewed-by: Bransiec, ChristopheX <christophex.bransiec@intel.com>
Reviewed-by: Beldie, OvidiuX <ovidiux.beldie@intel.com>
Reviewed-by: Gros, JulienX <julienx.gros@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Tested-by: Zurmely, PierreX <pierrex.zurmely@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Sundar Iyer [Tue, 28 Feb 2012 05:22:55 +0000 (10:52 +0530)]
cpufreq: Add cpufreq_getload() helper
BZ: 31189
For today's advanced platforms, the HW provides idle time accounting
through residency counters. These counters are the most direct and most
accurate statistics about the time spent in various idle states. Also for a
hyper-threaded or both-cores-tied-to-same frequency configuration, the total
load calculated by the OS per-thread or per-core may not reflect the true
need to increase/decrease the frequency, leading to performance impacts.
This patch adds an optional variable to get CPU load from the platform driver
in such cases. The decision to change the frequency is now impacted by the
HW statistics if the platform supports this.
Change-Id: Ic8e4cb45281e989a3f389fa5bb3129f758dbf608
Signed-off-by: Sundar Iyer <sundar.iyer@intel.com>
Signed-off-by: Chuan A Wang <chuan.a.wang@intel.com>
Signed-off-by: Youquan Song <youquan.song@intel.com>
Signed-off-by: Ke Chen <ke.chen@intel.com>
Reviewed-on: http://android.intel.com:8080/48471
Reviewed-by: Martin, LoicX <loicx.martin@intel.com>
Tested-by: Martin, LoicX <loicx.martin@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Sundar Iyer [Mon, 19 Mar 2012 09:57:59 +0000 (15:27 +0530)]
cpufreq/x86: Enable __getload() helper for Medfield-x86 platform
BZ: 31189
Enable the hardware based load calculation for the Medfield x86-HT platform.
This makes sure that the on-demand governor responds correctly to the load
based on the physical core and not the logical siblings
Change-Id: Iaeaf5f154ca955f3e8cfe09c052f23913edbf5a1
Signed-off-by: Chuan A Wang <chuan.a.wang@intel.com>
Signed-off-by: Youquan Song <youquan.song@intel.com>
Signed-off-by: Ke Chen <ke.chen@intel.com>
Signed-off-by: Sundar Iyer <sundar.iyer@intel.com>
Reviewed-on: http://android.intel.com:8080/48470
Reviewed-by: Martin, LoicX <loicx.martin@intel.com>
Tested-by: Martin, LoicX <loicx.martin@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Geng Xiujun [Tue, 8 May 2012 06:26:47 +0000 (14:26 +0800)]
display: turn on/off backlight of lvds panel in mipi dpms
BZ: 34728
turn on/off backlight of lvds panel in mipi dpms operation
Change-Id: I9199a8b1ab36552247682a2ab66c4106e6166e7b
Signed-off-by: Geng Xiujun <xiujun.geng@intel.com>
Reviewed-on: http://android.intel.com:8080/47751
Reviewed-by: Zhang, Lei <lei.zhang@intel.com>
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: Ai, Ke <ke.ai@intel.com>
Tested-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Marc Mao [Thu, 3 May 2012 04:08:09 +0000 (12:08 +0800)]
Set primary plane format to RGBX.
BZ: 33412
This is the kernel part of patch to fix regression caused by HWC overlay + sprite blending
implementation. We have a hw issue in display controller to display RGBA plane. We can't set
it to RGBA if there only primary plane is displayed. This patch will set primary plane to RGBX
if no overlay displayed, other wise it is set to RGBA.
Change-Id: I1f74dfb2841df771e1b9a0b14d390b17eb49ab40
Signed-off-by: Marc Mao <marc.mao@intel.com>
Reviewed-on: http://android.intel.com:8080/47155
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: Hu, Austin <austin.hu@intel.com>
Reviewed-by: Ai, Ke <ke.ai@intel.com>
Tested-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Ke Ai [Wed, 9 May 2012 02:53:50 +0000 (10:53 +0800)]
GFX-Display: improve command mode panel FB update
BZ: 34799
for Enzo BZ 609
1. use async flip instead of schedual work queue,
to avoid the influnce of continully touch and usb
hotplug
2. enable hw te 61190[3:2], to avoid tearing.
3. wait for dbi fifo , before process new FB flip,
to reduce CPU loading
Change-Id: Icd43038224d75856cc8e0c58f86cab44f0525933
Signed-off-by: Ke Ai <ke.ai@intel.com>
Signed-off-by: Patel Hitesh <hitesh.k.patel@intel.com>
Reviewed-on: http://android.intel.com:8080/47785
Reviewed-by: Tong, BoX <box.tong@intel.com>
Tested-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Lei Zhang [Thu, 3 May 2012 03:58:43 +0000 (11:58 +0800)]
Gfx-Display: correct the reg setting of MIPI in driver
BZ: 29163
This is a supplement to patch 40888 which correct the MIPI reg 0x61190 setting.
The former patch just correct the setting for Video mode; this patch clean the
code for MIPI command mode.
Change-Id: I41f32409cbdaf9131461cc409b06e7b5bac6e8e4
Signed-off-by: Lei Zhang <lei.zhang@intel.com>
Reviewed-on: http://android.intel.com:8080/47144
Reviewed-by: Ai, Ke <ke.ai@intel.com>
Reviewed-by: Patel, Hitesh K <hitesh.k.patel@intel.com>
Reviewed-by: Tong, BoX <box.tong@intel.com>
Tested-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: Lu, Faxing <faxing.lu@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
faxing [Wed, 11 Apr 2012 22:06:03 +0000 (15:06 -0700)]
Display sw driver update: VGH/VGL parameter change
BZ: 31177
Based upon instructions from CMI,
the 4th parameter of Set Power will be changed from 0x24 to 0xa5
Change-Id: Ia9f59532946630ec518350b8117fd138d292d6e5
Signed-off-by: faxing <faxing.lu@intel.com>
Reviewed-on: http://android.intel.com:8080/43186
Reviewed-by: Ai, Ke <ke.ai@intel.com>
Reviewed-by: Yoke, Nicholas J <nicholas.j.yoke@intel.com>
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Tested-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Li, Ning [Tue, 8 May 2012 07:41:00 +0000 (15:41 +0800)]
[PATCH] change add_timer to mod_timer
BZ: 34961
HSU driver might delete timer without sync in tasklet. The pending
timer might exist before next add_timer. It is better to use
mod_timer instead of add_timer.
Change-Id: I5762791f70a011b05e9e57d614a6e041ad27a400
Signed-off-by: Bin Yang <bin.yang@intel.com>
Reviewed-on: http://android.intel.com:8080/47762
Reviewed-by: Cai, Stanley W <stanley.w.cai@intel.com>
Reviewed-by: Kuppuswamy, Sathyanarayanan <sathyanarayanan.kuppuswamy@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
lwan89x [Fri, 23 Mar 2012 08:13:17 +0000 (16:13 +0800)]
intel_scu_ipc.c: Write chksum data when writing osnib data.
BZ: 24109
Change-Id: I1c102eed594b4b661fefdf989ff95d4e60488800
Signed-off-by: lwan89x <liangx.wang@intel.com>
Reviewed-on: http://android.intel.com:8080/40435
Reviewed-by: Puech, Yann <yann.puech@intel.com>
Reviewed-by: Romieu, Benoit <benoit.romieu@intel.com>
Tested-by: Romieu, Benoit <benoit.romieu@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Tao Jing [Sat, 28 Apr 2012 09:01:37 +0000 (17:01 +0800)]
mt9e013: remove unnecessary msleep
BZ: 32405
set 0 to gpio and then msleep before set 1 to gpio is unnecessary in
mt9e013_gpio_ctrl.
Change-Id: Id23755bbb4701c5657fc683e124b85cbdb039671
Signed-off-by: Tao Jing <jing.tao@intel.com>
Reviewed-on: http://android.intel.com:8080/46665
Reviewed-by: Mahe, Erwan <erwan.mahe@intel.com>
Tested-by: Mahe, Erwan <erwan.mahe@intel.com>
David Cohen [Wed, 2 May 2012 19:52:18 +0000 (22:52 +0300)]
atomisp: mt9e013: create settings specific header file
BZ: 27947
mt9e013 driver may have different recommended settings and modes for
different products. We've a new sensor api coming in future to handle this
situation, but for now we're creating header files specific for
products.
Depend on patch : 48319
Change-Id: I5dc700aba5fc843edf2bb2cf3c49fe2f41750684
Signed-off-by: David Cohen <david.a.cohen@intel.com>
Signed-off-by: Robert Jong-A-Lock <robert.jong-a-lock@intel.com>
Signed-off-by: Gong Shuguang <shuguang.gong@intel.com>
Signed-off-by: zjiang2X <ziyux.jiang@intel.com>
Reviewed-on: http://android.intel.com:8080/46072
Reviewed-by: Wang, Wen W <wen.w.wang@intel.com>
Reviewed-by: Koski, Anttu <anttu.koski@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Reviewed-by: Kruger, Jozef <jozef.kruger@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Gabriel Touzeau [Fri, 4 May 2012 15:00:05 +0000 (17:00 +0200)]
intel_mid_power_off: don't allow to reboot in COS for redridge
BZ: 33090
When shutting down with AC charger connected shall shutdown instead of
resetting in Charging Mode in Redridge.
mfdl.c function intel_mid_power_off has to be modified for NOT resettin when
charger is plugged in.
Change-Id: I2207621d16f508007c66334f4ee8ecb0efb8ec94
Signed-off-by: Gabriel Touzeau <gabrielx.touzeau@intel.com>
Reviewed-on: http://android.intel.com:8080/47493
Reviewed-by: Romieu, Benoit <benoit.romieu@intel.com>
Tested-by: Romieu, Benoit <benoit.romieu@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Vinay Hegde [Thu, 10 May 2012 12:42:16 +0000 (18:12 +0530)]
EM/Charger: Support for USB ACA type Charger Detection.
BZ: 35463
This patch adds support for USB ACA type detection in
the Charger driver.
Change-Id: I28b64bff27cb1b009d67e3ac75d49baed399b5a2
Signed-off-by: Vinay Hegde <vinayx.hegde.kota@intel.com>
Reviewed-on: http://android.intel.com:8080/48114
Reviewed-by: Gurusamy, MarichamyX <marichamyx.gurusamy@intel.com>
Reviewed-by: Pandey, Raj <raj.pandey@intel.com>
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Shijie Zhang [Tue, 8 May 2012 14:17:36 +0000 (22:17 +0800)]
intel_scu_mip: fix Klocwork severe issues
BZ: 35184
Function 'snprintf' possibly accepts format string that may be
influenced by user, causing format string vulnerability. Undefined
string lengths can lead to buffer overflows and potential exploitation
by attackers. We should use a defined value for string lengths.
This patch fixes this issue.
Change-Id: I765e3a3a4a37a79dd1efc52da77908118563ce60
Signed-off-by: Shijie Zhang <shijie.zhang@intel.com>
Reviewed-on: http://android.intel.com:8080/47747
Reviewed-by: Yang, Bin <bin.yang@intel.com>
Reviewed-by: Yan, Leo <leo.yan@intel.com>
Reviewed-by: Li, Ning <ning.li@intel.com>
Reviewed-by: Chen, Jie D <jie.d.chen@intel.com>
Reviewed-by: Cai, Stanley W <stanley.w.cai@intel.com>
Tested-by: Tang, HaifengX <haifengx.tang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Avinash Kumar Chaurasia [Wed, 2 May 2012 08:27:21 +0000 (13:57 +0530)]
BCU: implementation of BCU driver
BZ: 34339
This patch is for implementing BCU driver to detect
voltage drop in the system and perform some necessary
cleanup and action required for those interrupts.
Change-Id: I4205d4bb7bc7726862a55c392e8e1d68a887336e
Signed-off-by: Avinash Kumar Chaurasia <avinash.k.chaurasia@intel.com>
Reviewed-on: http://android.intel.com:8080/47076
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Reviewed-by: Rapaka, Naveen <naveen.rapaka@intel.com>
Reviewed-by: Pandey, Raj <raj.pandey@intel.com>
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
jzhuan5 [Wed, 9 May 2012 04:04:48 +0000 (12:04 +0800)]
usb: reserve 5 seconds to ehci to enumerate before suspend
BZ: 35146
When uA is plugged, EHCI driver is started, if system gets suspended at
this moment, EHCI won't have a chance to enumerate the device under the
uA cable. Thus, after EHCI driver is started, we keep system alive for 5
seconds.
Change-Id: I003a1e12a291f3e0477dd5087336b60001cda96f
Signed-off-by: jzhuan5 <jin.can.zhuang@intel.com>
Reviewed-on: http://android.intel.com:8080/47920
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: Meng, Zhe <zhe.meng@intel.com>
Tested-by: Meng, Zhe <zhe.meng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
jzhuan5 [Tue, 8 May 2012 09:13:00 +0000 (17:13 +0800)]
usb:penwell_otg: disable otg interrupt in penwell_otg_resume_noirq
BZ: 35035
1. As irq isn't disabled when suspended (if does so, wakeup interrupt maybe
missed), irq should be disabled in penwell_otg_resume_noirq. Otherwise,
irq may happen before penwell_otg_resume is called, this causes
unconsistent state regarding to that before suspending.
2. move the hsm update from penwell_otg_resume_noirq to
penwell_otg_resume
Change-Id: I38c510b77b4cdd9f29fdbd52d71057b4a8ef0187
Signed-off-by: jzhuan5 <jin.can.zhuang@intel.com>
Reviewed-on: http://android.intel.com:8080/47818
Reviewed-by: Meng, Zhe <zhe.meng@intel.com>
Tested-by: Meng, Zhe <zhe.meng@intel.com>
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
jzhuan5 [Tue, 24 Apr 2012 16:27:24 +0000 (12:27 -0400)]
usb: enable D3/D0i3 of usb host
BZ: 34521
This patch enables D3/D0i3 of USB host when otg state is in
A_WAIT_BCON and A_HOST:
1.Only allow A_WAIT_BCON, A_HOST to enter D3/D0i3;
2.Temporarily disallow B_WAIT_ACON, B_HOST to enter D3/D0i3.(this should be allowed
and fixed in further patch).
3.Delegate PM management to EHCI while VBUS is managed by transceiver driver.
4.remote-wakeup of mice, hub, host controller is enabled.
Change-Id: I3e3c3c670ba048511660ddbdb8ee5ce684d1f6dd
Signed-off-by: jzhuan5 <jin.can.zhuang@intel.com>
Reviewed-on: http://android.intel.com:8080/45887
Reviewed-by: Meng, Zhe <zhe.meng@intel.com>
Tested-by: Meng, Zhe <zhe.meng@intel.com>
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Omair Mohammed Abdullah [Mon, 2 Apr 2012 08:52:55 +0000 (14:22 +0530)]
audio: sn95031: cleanup jack detection code
BZ: 22081
Machine specific stuff like GPIO was present in the codec driver in Medfield.
Moved the code to the machine driver. Jack detection design is changed a little
but the logic remains the same.
The bottom half of the interrupt handler now directly calls
mfld_jack_detection(). During boot, jack detection is done by calling
mfld_schedule_wq() instead of mfld_jack_check(), which is removed.
Additionally, a new file mfld_common.[ch] is added which contains common
routines across all medfield boards.
Change-Id: I552c7bfdc40062f17f5360b88b0ddec4c0bd5d82
Signed-off-by: Omair Mohammed Abdullah <omair.m.abdullah@linux.intel.com>
Reviewed-on: http://android.intel.com:8080/42078
Reviewed-by: Babu, Ramesh <ramesh.babu@intel.com>
Reviewed-by: Gupta, ArvindX K <arvindx.k.gupta@intel.com>
Reviewed-by: Koul, Vinod <vinod.koul@intel.com>
Reviewed-by: Hibare, PramodX <pramodx.hibare@intel.com>
Tested-by: Hibare, PramodX <pramodx.hibare@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Wang Zhifeng [Thu, 10 May 2012 01:24:53 +0000 (09:24 +0800)]
hwmon/lis3dh: make read/write of the range sys entry consistent
BZ: 34712
The range sys entry uses different values for reading and writing.
This commit changes that to use the same values.
Change-Id: I20f7475aeb3690ecaf0fef56f5f383cdbf441137
Signed-off-by: Wang Zhifeng <zhifeng.wang@intel.com>
Reviewed-on: http://android.intel.com:8080/48101
Reviewed-by: Liu, Hong <hong.liu@intel.com>
Reviewed-by: Chen, Jie D <jie.d.chen@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Li, Ning [Thu, 10 May 2012 03:04:21 +0000 (11:04 +0800)]
intel-mid: update MRFL cpu ID
BZ: 34957
MRFL cpu ID changes from VP 4.1.1, which will cause
the kernel identify the wrong platform.
This patch fixs this issue.
Change-Id: I25f5affce355889b88f183b4fbaff8b51a44895c
Signed-off-by: Li, Ning <ning.li@intel.com>
Reviewed-on: http://android.intel.com:8080/48104
Reviewed-by: Zhang, Shijie <shijie.zhang@intel.com>
Reviewed-by: Chen, Jie D <jie.d.chen@intel.com>
Reviewed-by: Yang, Bin <bin.yang@intel.com>
Reviewed-by: Brown, Mark F <mark.f.brown@intel.com>
Tested-by: Tang, HaifengX <haifengx.tang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Leo Yan [Wed, 9 May 2012 05:16:17 +0000 (13:16 +0800)]
ltr301: Add CH0/CH1 coefficient range 3
BZ: 34482
Add CH0/CH1 coefficient range 3 for extremely incandescent light.
When device is in such kind of light, the raw data from CH1 register
is much more than CH0 and the ratio is greater than 85.
Change-Id: I3aee12b7ec65b0d39c9f37abbb221c5ca7644720
Signed-off-by: Leo Yan <leo.yan@intel.com>
Reviewed-on: http://android.intel.com:8080/47931
Reviewed-by: Liu, Hong <hong.liu@intel.com>
Reviewed-by: Chen, Jie D <jie.d.chen@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Tested-by: Tang, HaifengX <haifengx.tang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Ashish K Singh [Thu, 10 May 2012 09:16:27 +0000 (14:46 +0530)]
Fix for KW issue
BZ: 34186
This is fix for KW issue 70362.
Change-Id: I990cf1d5a68395a2e9a0dfc5a7f687a82715768c
Signed-off-by: Ashish K Singh <ashish.k.singh@intel.com>
Reviewed-on: http://android.intel.com:8080/48204
Reviewed-by: Yang, Fei <fei.yang@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Yann Puech [Wed, 9 May 2012 15:05:27 +0000 (17:05 +0200)]
New debugfs entry to trigger security watchdog
BZ: 35526
This patch adds an entry in the debugfs so we are now
able to trigger asecurity watchdog.
Change-Id: Id2038dde394e19c8a06d32e0d9add5f545f1b8a1
Signed-off-by: Yann Puech <yann.puech@intel.com>
Reviewed-on: http://android.intel.com:8080/47997
Reviewed-by: Romieu, Benoit <benoit.romieu@intel.com>
Tested-by: Romieu, Benoit <benoit.romieu@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Lobo, Melwyn [Wed, 28 Mar 2012 06:03:14 +0000 (11:33 +0530)]
[PORT_FROM_R2]writeback: lessen sync_supers wakeup count
BZ: 31185
This patch is based similar optimization in R2 with commit
7c08fc348676dfe32deb056a91bceec943db85e2
The 'sync_supers' thread wakes up periodically (by default) and
writes back all super blocks. It keeps waking up even if there
are no dirty super-blocks. For many file-systems the superblock
becomes dirty very rarely, if ever, so 'sync_supers' does not do
anything most of the time.
This patch improves 'sync_supers' and makes it sleep if all superblocks
are clean and there is nothing to do. This helps saving the power.
This optimization is important for small battery-powered devices.
This patch was provided by Artem who developed while he was working
for Nokia, and the patch has been put into Nokia's kernel based on
what he told me via private email.
Change-Id: I93caca67f0f0d3b943b4fcba8b176a8f7ebd4da7
Signed-off-by: Lobo, Melwyn <melwyn.lobo@intel.com>
Signed-off-by: Winson Yung <winson.w.yung@intel.com>
Signed-off-by: Artem Bityutskiy <dedekind1@gmail.com>
Reviewed-on: http://android.intel.com:8080/41075
Reviewed-by: Iyer, Sundar <sundar.iyer@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Kuppuswamy, Sathyanarayanan <sathyanarayanan.kuppuswamy@intel.com>
Reviewed-by: Martin, LoicX <loicx.martin@intel.com>
Tested-by: Martin, LoicX <loicx.martin@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Kappel, LaurentX [Thu, 10 May 2012 07:59:26 +0000 (00:59 -0700)]
Revert "audio:sst:print IPC messages using pr_info"
BZ: 31581
IPC messages are exchanged between SST driver and LPE during audio
activity. These IPC messages are the main pulse of audio activity.
Printing these messages using pr_info helps us to debug issues
reported from field.
Old-Change-Id: I6180e6f8cbd23ed443b15b399fc25d90204f44be
Signed-off-by: Ramesh Babu K V <ramesh.babu@intel.com>
This reverts commit
6b56c8e8aed1b6942fd921115463f34558f8a511
Change-Id: Ia02ada85b76a692554940ef0a293c8799a03251d
Reviewed-on: http://android.intel.com:8080/48174
Reviewed-by: Kappel, LaurentX <laurentx.kappel@intel.com>
Tested-by: Kappel, LaurentX <laurentx.kappel@intel.com>
Guillaume Betous [Fri, 4 May 2012 13:56:34 +0000 (15:56 +0200)]
Improve PUPDR-R logs at bootup
BZ: 34359
- Complete OSNIB dump
- Some key registers in OSHOB (SCU&IA traces)
Change-Id: Ic04ed6c2b9942b7ccf26b47bf4c79a488520a119
Signed-off-by: Guillaume Betous <guillaumeX.betous@intel.com>
Reviewed-on: http://android.intel.com:8080/47478
Reviewed-by: Romieu, Benoit <benoit.romieu@intel.com>
Tested-by: Romieu, Benoit <benoit.romieu@intel.com>
Reviewed-by: Betous, GuillaumeX <guillaumex.betous@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
David Cohen [Fri, 4 May 2012 18:30:56 +0000 (21:30 +0300)]
Revert "mt9e013: async power up sequence to decrease Lanuch2preview time"
BZ: 34894
This reverts commit
1428b87c861f5e007fa1becd137f5a72d83badd0.
Change-Id: I7bffb6e8951bee67ff85e4aae4b22e0625e73c34
Signed-off-by: David Cohen <david.a.cohen@intel.com>
Reviewed-on: http://android.intel.com:8080/47522
Reviewed-by: Kruger, Jozef <jozef.kruger@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Reviewed-by: Tao, Jing <jing.tao@intel.com>
Reviewed-by: Koski, Anttu <anttu.koski@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Huang Shenbo [Thu, 3 May 2012 06:54:31 +0000 (14:54 +0800)]
mt9m114: change flip mappings and add g_*flip
BZ: 30559
issues: flip mappings for front sensor image doesn't work
as expected and get control values should be added
solution: change flip mappings and add g_*flip
Change-Id: I7d5142b750585660de669696ce863cc01539e1cc
Signed-off-by: Huang Shenbo <shenbo.huang@intel.com>
Reviewed-on: http://android.intel.com:8080/47197
Reviewed-by: Jiang, ZiyuX <ziyux.jiang@intel.com>
Reviewed-by: Tao, Jing <jing.tao@intel.com>
Reviewed-by: Toivonen, Tuukka <tuukka.toivonen@intel.com>
Reviewed-by: Koski, Anttu <anttu.koski@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Tuukka Toivonen [Thu, 3 May 2012 07:59:12 +0000 (10:59 +0300)]
ov8830: support for getting binning/skipping factor
BZ: 34578
Add support for V4L2_CID_BIN_FACTOR_HORZ and V4L2_CID_BIN_FACTOR_VERT
for getting binning/skipping factor.
Change-Id: Id8aa0be013d98b727b7e0b4c4f14f7f9ee1c3b2f
Signed-off-by: Tuukka Toivonen <tuukka.toivonen@intel.com>
Reviewed-on: http://android.intel.com:8080/47188
Reviewed-by: Gerasimow, Timo <timo.gerasimow@intel.com>
Reviewed-by: Koski, Anttu <anttu.koski@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Leo Yan [Tue, 8 May 2012 01:58:25 +0000 (09:58 +0800)]
Proximity Sensor: Change the integration circle
BZ: 33317
Change the integration circle to one to reduce the proximity detect
delay.
Change-Id: I97930f96fdafa2ce35a973992c9710f6f25b86be
Signed-off-by: Leo Yan <leo.yan@intel.com>
Reviewed-on: http://android.intel.com:8080/47711
Reviewed-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: Chen, Jie D <jie.d.chen@intel.com>
Reviewed-by: Liu, Hong <hong.liu@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Tested-by: Tang, HaifengX <haifengx.tang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Wu, Hao [Mon, 7 May 2012 13:30:26 +0000 (21:30 +0800)]
usb/gadget: set vbus draw current limitation when in unconfig state
BZ: 33225
This patch sets vbus draw current limitation in unconfig state,
no smaller than suspended state.
Change-Id: I28970325a20f9d220123f9d0e99cae90dcd80294
Signed-off-by: Wu, Hao <hao.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/47679
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: Tang, Jianqiang <jianqiang.tang@intel.com>
Reviewed-by: Zhuang, Jin Can <jin.can.zhuang@intel.com>
Reviewed-by: Meng, Zhe <zhe.meng@intel.com>
Tested-by: Meng, Zhe <zhe.meng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Kappel, LaurentX [Wed, 9 May 2012 08:51:07 +0000 (01:51 -0700)]
Revert "hwmon/lis3dh: make read/write of the range sys entry consistent"
BZ: 34712
The range sys entry uses different values for reading and writing.
This commit changes that to use the same values.
Old-Change-Id: If7a017f5fa22a6955e7e08814eb29521ead9544e
Signed-off-by: Wang Zhifeng <zhifeng.wang@intel.com>
This reverts commit
f4d80d5486d0665895f93f03b4da4e4c1193a51e
Change-Id: Id2c0a7085e6a0502c20c03b84177b0230cc45ff0
Reviewed-on: http://android.intel.com:8080/47943
Reviewed-by: Kappel, LaurentX <laurentx.kappel@intel.com>
Tested-by: Kappel, LaurentX <laurentx.kappel@intel.com>
Geng Xiujun [Thu, 3 May 2012 05:53:44 +0000 (13:53 +0800)]
display: fix hdmi tearing issue for dv20
BZ: 32739
lvds panel uses different variable to record panel status.
Change-Id: I0c46969a0c00def41c75708205dc47507054cace
Signed-off-by: Geng Xiujun <xiujun.geng@intel.com>
Reviewed-on: http://android.intel.com:8080/47712
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: Ai, Ke <ke.ai@intel.com>
Reviewed-by: Zhang, Lei <lei.zhang@intel.com>
Tested-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Geng Xiujun [Mon, 7 May 2012 11:21:21 +0000 (19:21 +0800)]
display: [REVERTME] keep power island on if hdmi audio is active during suspend
BZ: 31959
for redridge, during suspend, if hdmi audio is active, and dpms is called for
MIPI, then I2C error will happen when resume. this WORKAROUND keeps all graphic
islands on, and just turn off LVDS panel's backlight if hdmi audio is active.
Change-Id: Id4e44c14d9ef99e10aed68fb97820f08390484b5
Signed-off-by: Geng Xiujun <xiujun.geng@intel.com>
Reviewed-on: http://android.intel.com:8080/46948
Reviewed-by: Zhang, Lei <lei.zhang@intel.com>
Reviewed-by: Ai, Ke <ke.ai@intel.com>
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Tested-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Geng Xiujun [Fri, 4 May 2012 07:54:59 +0000 (15:54 +0800)]
display: [REVERTME] add access count for AVDD gpio pin for DV20
BZ: 32593
[WORKAROUND]: The I2C bus of LVDS panel is shared with other devices, such as
dsi-lvds bridge and pn544, if we turn off panel power through GPIO, then it
will pull voltage of i2c down to 1v, and if there's other device's transition
on this bus at this time, then it will be unstable, and unrecoverable. experiments
show that, if we don't turn off LVDS panel power rail in early suspend, then I2C
error will be disappear.
This workaround uses access count to control VADD gpio pin. when one device
uses i2c device, increase the count, after that decrease it. and if LVDS panel
is powered on, increase it, once powered off, decrease it. if the count reaches 0,
pull down the gpio pin, otherwise pull it high. Thus it can make sure when
there's transition on the i2c bus, VADD keeps on.
Change-Id: Ide625a1ee3de544ba9ee0a71d005b22d20af4307
Signed-off-by: Geng Xiujun <xiujun.geng@intel.com>
Reviewed-on: http://android.intel.com:8080/47423
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: Ai, Ke <ke.ai@intel.com>
Reviewed-by: Zhang, Lei <lei.zhang@intel.com>
Reviewed-by: Yang, Bin <bin.yang@intel.com>
Reviewed-by: Hogander, Jouni <jouni.hogander@intel.com>
Tested-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Fei Jiang [Sun, 6 May 2012 15:27:07 +0000 (23:27 +0800)]
kernel-drm: remove ttm_bo_reserve for TTM_PL_SYNCCPU_OP_RELEASE ioctl.
BZ: 34332
Some time ttm_bo_reserver will fail, then will not decrease cpu_writers,
while pool_releasefromcpu and wsbmBOReleaseFromCpu will not handle the return error.
ttm_ref_object_base_unref will only access the bo->write_counter with atomic_dec_and_test, which is atomic operation.
Change-Id: Ie831fad02699ec1875d73e238edaf3b2ff10f4d9
Reviewed-on: http://android.intel.com:8080/47556
Reviewed-by: Jiang, Fei <fei.jiang@intel.com>
Reviewed-by: Ding, Haitao <haitao.ding@intel.com>
Tested-by: Ding, Haitao <haitao.ding@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Ramesh Babu K V [Wed, 25 Apr 2012 16:35:00 +0000 (22:05 +0530)]
audio:sst:print IPC messages using pr_info
BZ: 31581
IPC messages are exchanged between SST driver and LPE during audio
activity. These IPC messages are the main pulse of audio activity.
Printing these messages using pr_info helps us to debug issues
reported from field.
Change-Id: I6180e6f8cbd23ed443b15b399fc25d90204f44be
Signed-off-by: Ramesh Babu K V <ramesh.babu@intel.com>
Reviewed-on: http://android.intel.com:8080/46069
Reviewed-by: Abdullah, Omair M <omair.m.abdullah@intel.com>
Reviewed-by: Koul, Vinod <vinod.koul@intel.com>
Reviewed-by: Martin, LoicX <loicx.martin@intel.com>
Reviewed-by: Agarwal, Vaibhav <vaibhav.agarwal@intel.com>
Reviewed-by: Gupta, ArvindX K <arvindx.k.gupta@intel.com>
Reviewed-by: Hibare, PramodX <pramodx.hibare@intel.com>
Tested-by: Hibare, PramodX <pramodx.hibare@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Ramesh Babu K V [Wed, 11 Apr 2012 16:56:18 +0000 (22:26 +0530)]
audio:sst:error handling during stream alloc
BZ: 32085
In rarest cases, the previous stream free may not freed by
firmware. In such error conditions, firmware will not be
able to do stream alloc and returns stream in use error.
This causes no audio activity in a device until reboot.
If stream alloc fails due to stream in use error, free it
immediately and return the error to application. Application
would retry again and will succeed in audio playback or capture.
Change-Id: Ie28cb45ddf43cbda415037dbeb6d924be7fdae9f
Signed-off-by: Ramesh Babu K V <ramesh.babu@intel.com>
Reviewed-on: http://android.intel.com:8080/43749
Reviewed-by: Abdullah, Omair M <omair.m.abdullah@intel.com>
Reviewed-by: Agarwal, Vaibhav <vaibhav.agarwal@intel.com>
Reviewed-by: Koul, Vinod <vinod.koul@intel.com>
Reviewed-by: Gupta, ArvindX K <arvindx.k.gupta@intel.com>
Reviewed-by: Hibare, PramodX <pramodx.hibare@intel.com>
Tested-by: Hibare, PramodX <pramodx.hibare@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Chuanxiao Dong [Fri, 4 May 2012 09:54:55 +0000 (17:54 +0800)]
mmc: sd: Handle SD3.0 cards not supporting UHS-I bus speed mode
BZ: 34834
This patch is a variant of an upstream patch. It fixed SD cannot
change high spee mode issue. Below is the original commit info:
Here is Essential conditions to indicate Version 3.00 Card
(SD_SPEC=2 and SD_SPEC3=1) :
(1) The card shall support CMD6
(2) The card shall support CMD8
(3) The card shall support CMD42
(4) User area capacity shall be up to 2GB (SDSC) or 32GB (SDHC)
User area capacity shall be more than or equal to 32GB and
up to 2TB (SDXC)
(5) Speed Class shall be supported (SDHC or SDXC)
So even if SD card doesn't support any of the newly defined
UHS-I bus speed mode, it can advertise itself as SD3.0 cards
as long as it supports all the essential conditions of
SD3.0 cards. Given this, these type of cards should atleast
run in High Speed mode @50MHZ if it supports HS.
But current initialization sequence for SD3.0 cards is
such that these non-UHS-I SD3.0 cards runs in Default
Speed mode @25MHz.
This patch makes sure that these non-UHS-I SD3.0 cards run
in High Speed Mode @50MHz.
Change-Id: I780ac5d2d076fe56b8079bfd98fc234d301eef4b
Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com>
Reviewed-on: http://android.intel.com:8080/47435
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Tested-by: Sun, Jianhua <jianhua.sun@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Chuanxiao Dong [Fri, 4 May 2012 05:59:32 +0000 (13:59 +0800)]
mmc: panic_ops: fix emmc write when in kernel panic mode
BZ: 33786
CLV cannot save kernel panic log and logcat log after kernel happened.
It because eMMC card has switched to DDR mode but host is still in DDR
mode after kenel panic happens. So change eMMC card to SDR mode only after
kernel panic happened.
Change-Id: I40768128598fc2a4afdeb341837da360997d50f7
Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com>
Reviewed-on: http://android.intel.com:8080/47372
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Tested-by: Sun, Jianhua <jianhua.sun@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Wang Zhifeng [Fri, 4 May 2012 04:04:22 +0000 (12:04 +0800)]
hwmon/lis3dh: make read/write of the range sys entry consistent
BZ: 34712
The range sys entry uses different values for reading and writing.
This commit changes that to use the same values.
Change-Id: If7a017f5fa22a6955e7e08814eb29521ead9544e
Signed-off-by: Wang Zhifeng <zhifeng.wang@intel.com>
Reviewed-on: http://android.intel.com:8080/47364
Reviewed-by: Chen, Jie D <jie.d.chen@intel.com>
Reviewed-by: Yan, Leo <leo.yan@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Reviewed-by: Tang, HaifengX <haifengx.tang@intel.com>
Tested-by: Tang, HaifengX <haifengx.tang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
lebsir [Mon, 7 May 2012 11:20:53 +0000 (13:20 +0200)]
Revert "dlp_ctrl.c: Adding support for NOP command reception"
BZ: 33872
This reverts commit
b6304af67f2b2f322cad8c1fae8e5c4c780c72c3.
This reverts patch http://android.intel.com:8080/#/c/46567
Change-Id: Iaea052c3da48ef7253e878b532c5e11b183dad43
Signed-off-by: lebsir <samix.lebsir@intel.com>
Reviewed-on: http://android.intel.com:8080/47664
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Omair Mohammed Abdullah [Wed, 18 Apr 2012 10:37:35 +0000 (16:07 +0530)]
audio: cs42l73: Fix capture widget map issues
BZ: 30339 27806 32448
The DAPM map for the capture path in the codec had a common Mic widget for both
DMIC and AMIC. Also, the multiplexing was not set up properly, as a result of
which the AMIC path was also getting enabled on DMIC recording.
Fix by providing separate DMICA, DMICB widgets for DMICs and setting up the Mux
widget properly. The Mux widget selects the path (AMIC, DMIC) based on the ALSA
mixer settings set by HAL.
This changes the ALSA mixer interface and needs a fix in the HAL layer for
recording to work properly. The HAL layer should use the new mixers provided for
recording instead of the earlier mixers.
Change-Id: I17e5e19b2139defb2a4ce85e0b3905c08780cf96
Signed-off-by: Omair Mohammed Abdullah <omair.m.abdullah@linux.intel.com>
Reviewed-on: http://android.intel.com:8080/43870
Reviewed-by: Abdullah, Omair M <omair.m.abdullah@intel.com>
Reviewed-by: Kp, Jeeja <jeeja.kp@intel.com>
Reviewed-by: Koul, Vinod <vinod.koul@intel.com>
Reviewed-by: Agarwal, Vaibhav <vaibhav.agarwal@intel.com>
Reviewed-by: Gupta, ArvindX K <arvindx.k.gupta@intel.com>
Reviewed-by: M, Arulselvan <arulselvan.m@intel.com>
Tested-by: M, Arulselvan <arulselvan.m@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Omair Mohammed Abdullah [Thu, 12 Apr 2012 04:35:46 +0000 (10:05 +0530)]
audio: cs42l73: Fix widget duplication in codec dapm map
BZ: 27806 27797 26919
The codec DAPM map contained different widgets like APSINL, ASPINR, ASPINM that
modify the same port settings. Having 3 widgets for the same port confuses DAPM
and the port gets switched off if any of the widgets gets switched off.
Merge the 3 widgets into one ASPIN widget. Similar problem exists with the
ASPOUT, XSPIN, XSPOUT and VSP ports. Fix them too.
Additionally, replace snd_soc_write with snd_soc_update_bits which checks for
any change in the register settings before updating the register. Also, there
was an error where ADC Left and DMIC Left were mapped to register bits
corresponding to ADC B and DMIC B instead of ADC A and DMIC A. Swapped the
mappings to fix that.
Change-Id: Iddbde5b64d4af5f5eabbd3fb0cb9722cfdc8c7fe
Signed-off-by: Omair Mohammed Abdullah <omair.m.abdullah@linux.intel.com>
Reviewed-on: http://android.intel.com:8080/43772
Reviewed-by: Abdullah, Omair M <omair.m.abdullah@intel.com>
Reviewed-by: Kp, Jeeja <jeeja.kp@intel.com>
Reviewed-by: Koul, Vinod <vinod.koul@intel.com>
Reviewed-by: Agarwal, Vaibhav <vaibhav.agarwal@intel.com>
Reviewed-by: Gupta, ArvindX K <arvindx.k.gupta@intel.com>
Reviewed-by: M, Arulselvan <arulselvan.m@intel.com>
Tested-by: M, Arulselvan <arulselvan.m@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
David Cohen [Wed, 2 May 2012 14:51:47 +0000 (17:51 +0300)]
atomisp: lc898211: add temporary code for early development stage
BZ: 27947
lc898211 driver is still in early development stage as 3A library tuning
doesn't work well yet. This patch adds debugging messages and 8-bit to
10-bit conversion for compatibility with current 3A library.
This patch must be reverted once 3A library support is implemented.
Change-Id: I5cff971e93f16842ef74962eb7c3e43bdbe15737
Signed-off-by: David Cohen <david.a.cohen@intel.com>
Reviewed-on: http://android.intel.com:8080/47098
Reviewed-by: Kruger, Jozef <jozef.kruger@intel.com>
Reviewed-by: Wang, Wen W <wen.w.wang@intel.com>
Reviewed-by: Samurov, Vitali <vitali.samurov@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>