Yu Wang [Fri, 27 Apr 2012 03:23:42 +0000 (11:23 +0800)]
Solve xHCI detect SS device as HS device issue.
BZ: 33811
This is a workaround for hardware bug. When USB3 phy in P3 state, its
RxDetect is not work well. So force PHY change to P2 state when USB3
controller want to perform receiver detection.
Change-Id: Ifbe3af1a47c784bd0afa4f5e0c20f5c228d6c161
Signed-off-by: Yu Wang <yu.y.wang@intel.com>
Reviewed-on: http://android.intel.com:8080/46561
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>
Bin Yang [Thu, 19 Apr 2012 10:34:05 +0000 (18:34 +0800)]
add HSU RX timeout workarround for CTP
BZ: 31975
HSU RX timeout interrupt is lost for silicon issue. Need
this workarround to recovery the interrupt.
Change-Id: Ie38ac427519e04d5043cebc06873e4d429b8acaf
Signed-off-by: Bin Yang <bin.yang@intel.com>
Reviewed-on: http://android.intel.com:8080/44029
Reviewed-by: Kuppuswamy, Sathyanarayanan <sathyanarayanan.kuppuswamy@intel.com>
Reviewed-by: Wang, Yiyang <yiyang.wang@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>
Gabriel Touzeau [Thu, 26 Apr 2012 07:53:11 +0000 (09:53 +0200)]
intel_mid_power_off: modified charger detection
BZ: 31318
Shutdown with SDP/CDP/DCP cable connected shall NOT RESET the system and enter
in Charging MODE
This shall be done ONLY with ACDC Charger
Signed-off-by: Gabriel Touzeau <gabrielx.touzeau@intel.com>
Change-Id: If6c8fc667930bd94f26493755eab36648182ec2e
Reviewed-on: http://android.intel.com:8080/46358
Reviewed-by: Pallala, Ramakrishna <ramakrishna.pallala@intel.com>
Tested-by: Romieu, Benoit <benoit.romieu@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Pavan Kumar S [Mon, 23 Apr 2012 06:33:07 +0000 (12:03 +0530)]
ANDROID-COS: Change in charger detection for OSIP
BZ: 32617
Tablet platform supports AC-charger and currently doesn't support USB-charging.
This patch changes OSIP driver to detect for charger connection status using
power_supply_is_system_supplied() instead of penwell_otg_query_charging_cap().
Change-Id: I0da542988dd9575a6fcdee6c1e54edb4ab16ec65
Signed-off-by: Pavan Kumar S <pavan.kumar.s@intel.com>
Reviewed-on: http://android.intel.com:8080/44361
Reviewed-by: Mukherjee, DevapriyaX <devapriyax.mukherjee@intel.com>
Reviewed-by: Pallala, Ramakrishna <ramakrishna.pallala@intel.com>
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Reviewed-by: Jena, TapanX <tapanx.jena@intel.com>
Reviewed-by: Chotard, Celine <celine.chotard@intel.com>
Tested-by: Chotard, Celine <celine.chotard@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Ramakrishna Pallala [Wed, 25 Apr 2012 21:12:20 +0000 (02:42 +0530)]
max17042: Add power supply attribute for Coloumb Counter
BZ: 33602
This patch adds the support for CHARGER_COUNTER power supply
attribute to max17042/47 driver.
Note:QH(Charge Counter) register is not documented in max17042 the Spec.
Change-Id: I0d0c0e42f6905fcf63a16ddd6e5b003909fac907
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Reviewed-on: http://android.intel.com:8080/46297
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Reviewed-by: Jena, TapanX <tapanx.jena@intel.com>
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Pavan Kumar S [Mon, 16 Apr 2012 03:59:37 +0000 (09:29 +0530)]
Battery: Handle Charger-timer expiry cleanly.
BZ: 14844
On charger-timer expiry, charging stops. The status should be
NOT_CHARGING, USB status should be present, but offline.
Also, charging shouldn't re-start untill a USB-connect happens.
This patch cleans-up all these with the help of a new field msic_chr_err,
which will be set on charger-timer expiry.
Change-Id: I67d3eb49421dbe815e34d3457a5c959744cba74f
Signed-off-by: Pavan Kumar S <pavan.kumar.s@intel.com>
Reviewed-on: http://android.intel.com:8080/30262
Reviewed-by: Pallala, Ramakrishna <ramakrishna.pallala@intel.com>
Reviewed-by: Jena, TapanX <tapanx.jena@intel.com>
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
ShuoX Liu [Tue, 24 Apr 2012 04:51:58 +0000 (12:51 +0800)]
mm: percpu: Add PCPU_FC_FIXED to pcpu_fc for setting fixed pcpu_atom_size.
BZ: 27672
After long running, range of VM will be fragmented and fail to create new
chunk with large pcpu_atom_size(on i386 is 4M). On our platform, i write a
patch that will alloc percpu variables with 200B size repeatly and count
the total alloced size until it return failure, the result is:
pcpu_atom_size alloced size of test program
4M 0x2000f8
256K 0xffdcc8
The patch add one more chosen to percpu_alloc kernel parameter. Besides
page,embed,auto are available for percpu_alloc, memory size suffixed with
%K,%M are supported. It set pcpu_atom_size to fixed wanted size.
Change-Id: I8ddec17de1f7f06cba8298acb2fdec4147e79874
Signed-off-by: Yanmin Zhang <yanmin.zhang@intel.com>
Signed-off-by: ShuoX Liu <shuox.liu@intel.com>
Reviewed-on: http://android.intel.com:8080/45888
Reviewed-by: Mansoor, Illyas <illyas.mansoor@intel.com>
Reviewed-by: Jarzmik, Robert <robert.jarzmik@intel.com>
Reviewed-by: He, Bo <bo.he@intel.com>
Reviewed-by: Chotard, Celine <celine.chotard@intel.com>
Tested-by: Chotard, Celine <celine.chotard@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Samu Onkalo [Fri, 27 Apr 2012 07:37:09 +0000 (10:37 +0300)]
MMC: Tell emmc chip state to SCU via new field in Dekker mutex
BZ33846
SCU may access emmc while the kernel is between device suspend-resume
state. During that period the emmc chip is detached. SCU accesses fails
since the SCU doesn't power on the chip.
SCU must know the status of the emmc chip. Easiest way
is to pass the information from the kernel driver to SCU.
New field in the emmc dekker mutex may be updated only when
IA has successfully locked the mutex.
Change-Id: I9b9569d1b8d9f84fb9cf1b6ba96db99a65c08d4e
Signed-off-by: Samu Onkalo <samu.onkalo@intel.com>
Reviewed-on: http://android.intel.com:8080/46579
Reviewed-by: Dong, Chuanxiao <chuanxiao.dong@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
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>
Geng Xiujun [Fri, 27 Apr 2012 01:09:22 +0000 (09:09 +0800)]
[display-dv20]: turn off panel power rail only if no operation exists
BZ: 32593
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.
The patch turn off panel's power rail only when there's no device active.
Change-Id: Iea6223370598fd648fe74a3269df3f4c2da6a430
Signed-off-by: Geng Xiujun <xiujun.geng@intel.com>
Reviewed-on: http://android.intel.com:8080/46539
Reviewed-by: Tong, BoX <box.tong@intel.com>
Tested-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: Mansoor, Illyas <illyas.mansoor@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
s [Fri, 27 Apr 2012 12:36:40 +0000 (08:36 -0400)]
atomisp: mt9e013: reduce preview's skip frame num to 0
BZ: 31998
Previously when start preview, sensor told HAL to skip first 1 frames because 3A init param is not
valid in first 2 frames so they are green.
Now 3A init param invalid issue have been fixed. So don't need to skip frames.
This patch will work with HAL patch to total save ~67ms (33msx2) in launch2preview latency.
Signed-off-by: s <xiaolu.liu@intel.com>
Change-Id: Ibbe5f43f322a250e28a6c6c99a3ca069d64335a5
Reviewed-on: http://android.intel.com:8080/46545
Reviewed-by: Liu, Xiaolu <xiaolu.liu@intel.com>
Reviewed-by: Wada, Yoshio <yoshio.wada@intel.com>
Reviewed-by: Bhat, Sheethal <sheethal.bhat@intel.com>
Reviewed-by: Xia, Yu Y <yu.y.xia@intel.com>
Reviewed-by: Kruger, Jozef <jozef.kruger@intel.com>
Reviewed-by: Hu, Gang A <gang.a.hu@intel.com>
Tested-by: Hu, Gang A <gang.a.hu@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
s [Thu, 26 Apr 2012 23:25:09 +0000 (19:25 -0400)]
[Port from R2] atomisp: The screen flashed green when changing state of back camera.
BZ: 31998
We need to re-calculate ITG value when changing state also resolution.
When changing state or resolution, sensor settings are changed.
Itg value is depend on the sensor settings; frame_length_lines, line_length_pck and read_mode.
If use previous itg value without re-calculation, itg may be invalid.
Invalid settings of sensor generates some kinds of bad frame.(i.g. green flashed frame)
For the same reason, we should remove the restore exposure block in mt9e013_s_mbus_fmt.
The previous itg may be not correct value.
Solution :
- atomisp
improve 1'st frame image
- libmfldadvci
improve 2'nd frame image
- libcamera
Change-Id: I9bd3893ddc79040c9567eebb7bb6b98b4deaabe7
Signed-off-by: s <xiaolu.liu@intel.com>
Reviewed-on: http://android.intel.com:8080/46433
Reviewed-by: Wada, Yoshio <yoshio.wada@intel.com>
Reviewed-by: Kantola, Lasse <lasse.kantola@intel.com>
Reviewed-by: Xia, Yu Y <yu.y.xia@intel.com>
Reviewed-by: Bhat, Sheethal <sheethal.bhat@intel.com>
Reviewed-by: Kruger, Jozef <jozef.kruger@intel.com>
Reviewed-by: Hu, Gang A <gang.a.hu@intel.com>
Tested-by: Hu, Gang A <gang.a.hu@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Pavel Chupin [Thu, 26 Apr 2012 13:30:49 +0000 (17:30 +0400)]
gcc4.6: TEMPORARY fix for enums compare issue
BZ: 33304
There is different types of enums comparison 'enum atomisp_acc_arg_type'
and 'enum sh_css_acc_arg_type' and gcc4.6 produce a warning which is
treated as error. This is TEMPORARY patch to remove the warning until
these enums fixed.
Change-Id: Ib18d29a596aae3c5a93b436ffa490f6a8a5b2c49
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
Reviewed-on: http://android.intel.com:8080/45961
Reviewed-by: Lu, Hongjiu <hongjiu.lu@intel.com>
Reviewed-by: Yin, Fengwei <fengwei.yin@intel.com>
Reviewed-by: Li, XiaojingX <xiaojingx.li@intel.com>
Tested-by: Li, XiaojingX <xiaojingx.li@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Wu, Hao [Wed, 25 Apr 2012 14:00:53 +0000 (22:00 +0800)]
usb/ehci-pci: remove 200mA current limitation for DV
BZ: 33514
As in DV, we can support 500mA so the 200mA budget limitation
should be removed.
Change-Id: If70b2aa4a12736229ef66bd608eba0bfd3a0b48c
Signed-off-by: Wu, Hao <hao.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/46054
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>
Geng Xiujun [Fri, 20 Apr 2012 03:06:30 +0000 (11:06 +0800)]
[Port from R2]: flush hdmi port register
BZ: 33780
flush hdmi port register after writing to make it take effect
Change-Id: I8555b024cc5f66698cae459d7267c44d06bae4ea
Signed-off-by: Geng Xiujun <xiujun.geng@intel.com>
Signed-off-by: Seema Pandit <seema.pandit@intel.com>
Reviewed-on: http://android.intel.com:8080/46460
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>
Seema Pandit [Thu, 26 Apr 2012 15:42:16 +0000 (08:42 -0700)]
Fix issue with HDMI audio quality is poor.
BZ: 33536
Remove the hardcoded fp and dpll values for HDMI clock, to fix the
issue with HDMI audio quality, being choppy. These values are
calculated by the driver.
Change-Id: I1c13473f3a8e4874600f3087fb755020842f5e92
Signed-off-by: Seema Pandit <seema.pandit@intel.com>
Reviewed-on: http://android.intel.com:8080/46455
Reviewed-by: Hu, Austin <austin.hu@intel.com>
Reviewed-by: Dai, Yu <yu.dai@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>
Dale Stimson [Thu, 15 Mar 2012 23:39:17 +0000 (16:39 -0700)]
IMG code drop 840215 plus local changes (new kernel part)
BZ: 27656
Change-Id: I65467fcfd54e2ff51b58022cc1dbf3d6fb4c6994
Signed-off-by: Dale Stimson <dale.b.stimson@intel.com>
Signed-off-by: Tong, Bo <box.tong@intel.com>
Reviewed-on: http://android.intel.com:8080/46344
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Illyas Mansoor [Tue, 17 Apr 2012 09:05:41 +0000 (14:35 +0530)]
intel_scu_ipc: remove PM command synchronization
BZ: 32160
In R2 we had added serialization of IPC and PM (s0ix/lpmp3/d0ix) commands
since there were fabric errors, those issues were root caused and fixed in
SCU hence we no longer require this synchronization.
Also adding synchronization may adversly affect IPC communication, since
WatchDog keepalive is sent thru and IPC command and if s0ix is in progress the
watchdog keep alive timer may get blocked till the s0ix command gets completed
and this could take couple of seconds, by which time watch dog could get
triggerred.
Hence removing this synchronization.
Change-Id: I52b91d5c84ee8cc380d13f63cc46fa2017e4e4f2
Signed-off-by: Illyas Mansoor <illyas.mansoor@intel.com>
Reviewed-on: http://android.intel.com:8080/43669
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>
Leo Yan [Thu, 26 Apr 2012 00:54:36 +0000 (08:54 +0800)]
misc/apds990x: Reduce the IR factor when CH1/CH0 ratio is abnormal
BZ: 31055 31056
The lux equation in the apds990x datasheet assume the light source
is far from the sensor and CH1/CH0 ratio is always below than 0.3.
If the ratio is out of range, it means an abnormal incandescent light
source is very close to the sensor. In this case, the lux equation
doesn't work and we need to reduce the IR factor to get the correct
lux value.
Change-Id: I59b967bf775fbb3a46591728952688811c6347eb
Signed-off-by: Leo Yan <leo.yan@intel.com>
Reviewed-on: http://android.intel.com:8080/46184
Reviewed-by: Chen, Jie D <jie.d.chen@intel.com>
Reviewed-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Reviewed-by: Tang, HaifengX <haifengx.tang@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
shuguang gong [Tue, 24 Apr 2012 16:38:37 +0000 (12:38 -0400)]
Mt9e013: improve 720P video to 30fps and correct still capture to 3fps on lexington
BZ: 32164
When ISP works at 200MHz on Lexington, Current sensor setting cannot
achieve 30fps for 720p video recording and still capture is not fixed to 3fps.
This patch will make 720p video recording run at 30fps and still capture run at 3fps.
Depend on patch: 43702
Change-Id: If344fda0f13a0221286a49b1e1d9b2e25b5bd3a2
Signed-off-by: shuguang gong <shuguang.gong@intel.com>
Reviewed-on: http://android.intel.com:8080/45276
Reviewed-by: Jiang, ZiyuX <ziyux.jiang@intel.com>
Reviewed-by: Wang, Wen W <wen.w.wang@intel.com>
Reviewed-by: Toivonen, Tuukka <tuukka.toivonen@intel.com>
Reviewed-by: Hu, Gang A <gang.a.hu@intel.com>
Reviewed-by: Cohen, David A <david.a.cohen@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>
Tao Jing [Tue, 17 Apr 2012 11:03:53 +0000 (19:03 +0800)]
Mt9e013: correct fps for different resolutions of different settings.
BZ: 31575
correct the fps for different resolutions of different settings.
Change-Id: I3dcc05b11be3cadee5d11b2fac8bacec132ecdb1
Signed-off-by: Tao Jing <jing.tao@intel.com>
Signed-off-by: ziyux.jiang <ziyux.jiang@intel.com>
Reviewed-on: http://android.intel.com:8080/43702
Reviewed-by: Wang, Wen W <wen.w.wang@intel.com>
Reviewed-by: Gong, Shuguang <shuguang.gong@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>
Wu, Hao [Tue, 24 Apr 2012 13:49:41 +0000 (21:49 +0800)]
usb/penwell_otg: update DCD interval and timeout in charger detection flow
BZ: 33161
Update DCD timeout and interval to meet Battery Charging 1.2 Spec
requirement.
Change-Id: I1386cf835eb72f7267f9019e55771478776fb907
Signed-off-by: Wu, Hao <hao.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/45939
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>
Wu, Hao [Tue, 24 Apr 2012 11:03:10 +0000 (19:03 +0800)]
usb/penwell_otg: stop ulpi polling in device suspended mode
BZ: 33241
The 11897 workaround patch introduced a problem that keeps
ulpi polling even if the device is in suspended mode, which
results in timeout and unexpected reset to SW/HW. This patch
is ported from OTC branch.
Change-Id: Ib42c1769926e02f7407c0ee5961998d68aa2a20d
Signed-off-by: Wu, Hao <hao.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/45917
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>
Wu, Hao [Tue, 24 Apr 2012 10:38:55 +0000 (18:38 +0800)]
[Port from R2] usb/penwell_otg: fix ULPI polling error
BZ: 33238
Write 0x16 register after starting ULPI polling. This will
make sure even if 0x16 register was changed by unknown
reason before ULPI polling, it never causes reseting
controler all the time.
Change-Id: I47e2c613c1d7ea5754558d593bc37a0f9739f4de
Signed-off-by: Wu, Hao <hao.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/45914
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>
jzhuan5 [Sun, 15 Apr 2012 17:09:37 +0000 (13:09 -0400)]
usb:langwell_udc: fix pullup issue
BZ: 32720
Pullup shouldn't be connected/disconnected if dev->stopped is set which indicates interrupt
is not enabled and the controller maybe in a low power state.
Pullup should be connected if and only if the condition
dev->driver && dev->softconnected && dev->vbus_active && !dev->stopped is true.
dev->driver && dev->softconnected indicates the gadget want to connect pullup and
dev->vbus_active && !dev->stopped indicates uB is plugged in, in which state
vbus is active and controller is powered in device mode.
One related issue is in intel_mid_start_peripheral, pullup can be connected even
dev->softconnected is 0.
Solution:
1. add langwell_udc_pullup() to manage pullup connection/disconnection.
2. Check dev->stopped in langwell_udc_pullup(). If it's set, do nothing.
3. Check condition "dev->driver && dev->softconnected && dev->vbus_active && !dev->stopped"
in langwell_udc_pullup() before connecting pullup.
4. Every time when dev->driver/dev->softconnected/dev->vbus_active/dev->stopped changes,
langwell_udc_pullup should be called to connect pullup whenever is possible or disconnect
if necessary.
Signed-off-by: jzhuan5 <jin.can.zhuang@intel.com>
Change-Id: Idf4ba0a6ab200c66484146c0047073dbb98896bd
Reviewed-on: http://android.intel.com:8080/43514
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: Tang, Richard <richard.tang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Olivier Stoltz Douchet [Tue, 27 Mar 2012 14:42:33 +0000 (16:42 +0200)]
intel_mid_hsi.c: improving hsi_pm_runtime_get_sync and start tx synchronicity
BZ: 30613
The purpose of this patch is two fold: making the hsi_pm_runtime_get_sync()
function call synchronous to the PM management as well as start TX callback
functions.
This patch is actually waiting for the hsi_pm_resume() callback event
completion in the hsi_pm_runtime_get_sync() and start_tx() functions to ensure
that the IP is actually resumed upon the completion of these functions. Relying
solely on the wake_lock and pm_runtime_get_sync is not sufficient for this
purpose because of some race conditions between the Linux PM runtime state
machine and Android's PM state machine.
The TX path of the FFL modem protocol driver has been updated to manage the
synchronous start TX call. Since the TTY write function can be called in non
sleepable contexts, the start TX is actually called in a separate work, outside
the ffl_tty_write() function. Using the single threaded TX worqueue to manage
the start TX and stop TX is also serialiasing this management and easing the
stop TX to start TX pulse delay implementation.
This patch is also the opportunity to switch to a 3-workqueue modem protocol
implementation instead of the exisiting 5 workqueues (without considering the
start TX and stop TX workqueue), which is making much more sense.
Change-Id: I414757e6312c6648f6007ad17ac160bde758441b
Signed-off-by: Olivier Stoltz Douchet <olivierx.stoltz-douchet@intel.com>
Reviewed-on: http://android.intel.com:8080/40948
Reviewed-by: Roulliere, Pierre <pierre.roulliere@intel.com>
Reviewed-by: Predon, Frederic <frederic.predon@intel.com>
Reviewed-by: Lucas, Guillaume <guillaume.lucas@intel.com>
Reviewed-by: Lebsir, SamiX <samix.lebsir@intel.com>
Tested-by: Lebsir, SamiX <samix.lebsir@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Shijie Zhang [Wed, 25 Apr 2012 11:37:38 +0000 (19:37 +0800)]
intel_scu_ipcutil: re-arch IPC ioctl struct
BZ: 33355
Userspace IPC ioctl is using self defined command and struct, it will
cause inconsistent problem if ethier kernel or userspace side is making
some changes. Correct way should be exporting the kernel ioctl command
and struct to the userspace with kernel header file to keep them
consisent. This patch fixes this problem.
Change-Id: Icdc6e51f254279fba980935610e837bf6208f12b
Signed-off-by: Shijie Zhang <shijie.zhang@intel.com>
Reviewed-on: http://android.intel.com:8080/46003
Reviewed-by: Chen, Jie D <jie.d.chen@intel.com>
Reviewed-by: Li, Ning <ning.li@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>
Shijie Zhang [Tue, 24 Apr 2012 17:09:23 +0000 (01:09 +0800)]
intel_scu_ipc: move osc clock code from SCU IPC core driver
BZ: 32907
Based on current drvier framework, it's not suitable to leave OSC CLK
related code inside the IPC core driver. Move it to intel_scu_ipcutil.
Change-Id: I02981dd1e8f9fea7b521f6d1d07feca0c6dd492e
Signed-off-by: Shijie Zhang <shijie.zhang@intel.com>
Reviewed-on: http://android.intel.com:8080/45901
Reviewed-by: Chen, Jie D <jie.d.chen@intel.com>
Reviewed-by: Yang, Bin <bin.yang@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Reviewed-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
xiaobing tu [Fri, 13 Apr 2012 02:37:00 +0000 (10:37 +0800)]
Add user stack into /proc/xxx/stack.
BZ 32868
We often need user space stack call-chain information when debugging hard issues.
Here is a prototype and it could work well on X86 architecture.
The idea is to output user space stack call-chain from /proc/xxx/stack, currently,
/proc/xxx/stack only output kernel stack call chain. We extend it to output user
space call chain With hex format.In user space, we implement a backtrace tool, it
read kernel space and user space stack call chain from /proc/xxx/stack, and converts
the hex format into symbols., we tested it on i386/i686 and x86-64. It works well.
kernel patch for this tool
Signed-off-by: xiaobing tu <xiaobing.tu@intel.com>
Change-Id: I009c46282a7abc7fdf3f7cd34d4849095f79d50d
Reviewed-on: http://android.intel.com:8080/43335
Reviewed-by: Tu, Xiaobing <xiaobing.tu@intel.com>
Reviewed-by: Zhang, Yanmin <yanmin.zhang@intel.com>
Reviewed-by: Gross, Mark <mark.gross@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>
David Cohen [Sun, 22 Apr 2012 09:23:55 +0000 (12:23 +0300)]
atomisp: fix initialization when motor is not embedded to sensor
BZ: 27947
When motor has own I2C controler, atomisp driver needs 2 fix:
- Atomisp needs to create a relationship between motor and its related sensor
- Sensor name needs to contain motor to inform upper 3A library
Change-Id: I82eabfa127091169eed2c7441f1910e7629e0140
Signed-off-by: David Cohen <david.a.cohen@intel.com>
Reviewed-on: http://android.intel.com:8080/44340
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Reviewed-by: Toivonen, Tuukka <tuukka.toivonen@intel.com>
Reviewed-by: Kruger, Jozef <jozef.kruger@intel.com>
Reviewed-by: Wang, Wen W <wen.w.wang@intel.com>
Reviewed-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: Laakso, Antti <antti.laakso@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
David Cohen [Fri, 20 Apr 2012 14:47:45 +0000 (17:47 +0300)]
atomisp: add ioctl to retrieve motor internal memory data
BZ: 27947
If external lens/motor/actuator driver has data in internal memory to be
retrieved by userspace, this ioctl must be used.
Change-Id: Ib34f7ce62ef13ad427afe9c07f932bd04f6af15a
Signed-off-by: David Cohen <david.a.cohen@intel.com>
Reviewed-on: http://android.intel.com:8080/44150
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Reviewed-by: Kruger, Jozef <jozef.kruger@intel.com>
Reviewed-by: Wang, Wen W <wen.w.wang@intel.com>
Reviewed-by: Toivonen, Tuukka <tuukka.toivonen@intel.com>
Reviewed-by: Laakso, Antti <antti.laakso@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>
Tao Jing [Mon, 26 Mar 2012 09:33:14 +0000 (17:33 +0800)]
atomisp: enable atomisp driver in mrfl config file
BZ: 16478
Change-Id: I46661bd3c78ebb42ca0e159486dd2eb09e163a98
Signed-off-by: Tao Jing <jing.tao@intel.com>
Reviewed-on: http://android.intel.com:8080/40863
Reviewed-by: Yang, HaipingX <haipingx.yang@intel.com>
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: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Tao Jing [Thu, 22 Mar 2012 07:12:11 +0000 (15:12 +0800)]
atomisp: port css codebase to support mrfl vp
BZ: 16478
Change-Id: I35b9bccc0de46f9d6daf09febdbe6894a6342d07
Signed-off-by: Tao Jing <jing.tao@intel.com>
Reviewed-on: http://android.intel.com:8080/40862
Reviewed-by: Guo, Yuanqing <yuanqing.guo@intel.com>
Reviewed-by: Wezelenburg, Mark <mark.wezelenburg@intel.com>
Reviewed-by: Yang, HaipingX <haipingx.yang@intel.com>
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: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Tao Jing [Thu, 22 Mar 2012 02:52:29 +0000 (10:52 +0800)]
atomisp: porting to support mrfld vp
BZ: 16478
Change-Id: I0e2b1bdbd4b5f5e2a133fa14417452250c086080
Signed-off-by: Tao Jing <jing.tao@intel.com>
Reviewed-on: http://android.intel.com:8080/40861
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>
Fei Jiang [Thu, 19 Apr 2012 15:05:29 +0000 (23:05 +0800)]
kernel-drm: remove duplicated down_read to mmap_sem and add DRM_UNLOCKED flag for all video related ioctls.
BZ: 29375
DRM big mutex has big impact to the video performance and maybe trigger dead lock issue.
Change-Id: I7943f113009ae5d9a6206c4bf23728d06c2831af
Reviewed-on: http://android.intel.com:8080/44098
Reviewed-by: Jiang, Fei <fei.jiang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Reviewed-by: Ding, Haitao <haitao.ding@intel.com>
Tested-by: Ding, Haitao <haitao.ding@intel.com>
Geng Xiujun [Wed, 25 Apr 2012 09:49:30 +0000 (17:49 +0800)]
[display]: correct dsi-lvds bridge register setting
BZ: 32733
correct bridge register setting per spec.
Change-Id: I41836c3e4ed4bdd3ac8734d0c0079ff5e089f7bd
Signed-off-by: Geng Xiujun <xiujun.geng@intel.com>
Reviewed-on: http://android.intel.com:8080/46027
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>
Hitesh K. Patel [Mon, 16 Apr 2012 20:32:15 +0000 (13:32 -0700)]
GFX-Display: Display Brightness settings ignored after bootup
BZ: 33396
For Enzo Panel we need to make sure we set the display status
variable correctly.
Change-Id: Ie6104509f4d8cde5ad3f8b7aa8f3252597ccd2ed
Signed-off-by: Hitesh K. Patel <hitesh.k.patel@intel.com>
Reviewed-on: http://android.intel.com:8080/46007
Reviewed-by: Ai, Ke <ke.ai@intel.com>
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Anand Bodas [Tue, 17 Apr 2012 11:20:56 +0000 (16:50 +0530)]
GFX-Display: Enable dynamic CABC for TMD
BZ: 32194
This patch makes CABC dynamic depending on brightness levels.
For higher levels, higher savings are implemented for max
savings. For brightness below 50%, CABC is turned off.
Change-Id: I40283774a9e90a2dbd3822f14d8a09fe5c8521e2
Signed-off-by: Anand Bodas <anand.v.bodas@intel.com>
Signed-off-by: Tong, Bo <box.tong@intel.com>
Reviewed-on: http://android.intel.com:8080/43708
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Vinay Hegde [Fri, 20 Apr 2012 18:53:42 +0000 (00:23 +0530)]
EM/Charger: Support for USB CDP type Charger Detection.
BZ: 29469
This patch adds support for USB CDP type detection in
the Charger driver.
Change-Id: Ie16abb4fea4e614ebd24d3066ddd5282561add20
Signed-off-by: Vinay Hegde <vinayx.hegde.kota@intel.com>
Reviewed-on: http://android.intel.com:8080/43069
Reviewed-by: Pandey, Raj <raj.pandey@intel.com>
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Reviewed-by: Pallala, Ramakrishna <ramakrishna.pallala@intel.com>
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Vinay Hegde [Fri, 20 Apr 2012 18:49:02 +0000 (00:19 +0530)]
EM/Charger: UI should display discharging when connected as USB HOST
BZ: 30089
This patch ensures that when the board is connected to the USB in
Host mode it doesn't charge the battery and updates the battery
status as discharging.
Change-Id: I28c107c60bf5a7eb5f58ee2ea83e435e3e6bb2a3
Signed-off-by: Vinay Hegde <vinayx.hegde.kota@intel.com>
Reviewed-on: http://android.intel.com:8080/44135
Reviewed-by: Gurusamy, MarichamyX <marichamyx.gurusamy@intel.com>
Reviewed-by: Pallala, Ramakrishna <ramakrishna.pallala@intel.com>
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Vishwesh M Rudramuni [Tue, 10 Apr 2012 05:18:00 +0000 (10:48 +0530)]
[Revert Me] Option to choose between HSI and Standby on CVT platform through cmdline.
BZ: 33285
Currently HSI Modem 7060(BZ# 28529) is having a issue on CVT Platform and
it will not go to Low Power Mode. Standby will not work if HSI is enabled.
So HSI and Standby can be mutually exclusive.
So This patch provides the option to choose between Standby/HSI based on enable_stadby 1/0.
HSI Bug is Trached seprately through 28529.
Change-Id: Iba08d8f27166a64d8924268a5faa35ee1bcf5a28
Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
Signed-off-by: Nivedha Krishnakumar <nivedha.krishnakumar@intel.com>
Signed-off-by: Ramachandra Sudarshan N <sudarshan.n.ramachandra@intel.com>
Signed-off-by: Youvedeep Singh <youvedeep.singh@intel.com>
Signed-off-by: Dyut K Sil <dyut.k.sil@intel.com>
Reviewed-on: http://android.intel.com:8080/45940
Reviewed-by: Mansoor, Illyas <illyas.mansoor@intel.com>
Tested-by: Martin, LoicX <loicx.martin@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Vishwesh M Rudramuni [Fri, 23 Mar 2012 10:38:22 +0000 (16:08 +0530)]
[PATCH 7] i386_ctp_defconfig: Enabling PM for CLV
BZ:26897
This patch provides the support for enabling PM for cloverview
Platform.
Change-Id: If8d52dfac147b10d33478ca34dd8a4a276823f1c
Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
Signed-off-by: Nivedha Krishnakumar <nivedha.krishnakumar@intel.com>
Signed-off-by: Ramachandra Sudarshan N <sudarshan.n.ramachandra@intel.com>
Signed-off-by: Youvedeep Singh <youvedeep.singh@intel.com>
Signed-off-by: Dyut K Sil <dyut.k.sil@intel.com>
Reviewed-on: http://android.intel.com:8080/40189
Reviewed-by: Mansoor, Illyas <illyas.mansoor@intel.com>
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>
Vishwesh M Rudramuni [Fri, 23 Mar 2012 10:35:00 +0000 (16:05 +0530)]
[PATCH 6] intel_soc_clv: Adding PM support for CLV
BZ: 26897
This patch enables PM support for cloverview platform.
Change-Id: I1c42e8a00df1ea11e6410011902bfd371bf51098
Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
Signed-off-by: Nivedha Krishnakumar <nivedha.krishnakumar@intel.com>
Signed-off-by: Ramachandra Sudarshan N <sudarshan.n.ramachandra@intel.com>
Signed-off-by: Youvedeep Singh <youvedeep.singh@intel.com>
Signed-off-by: Dyut K Sil <dyut.k.sil@intel.com>
Reviewed-on: http://android.intel.com:8080/40188
Reviewed-by: Mansoor, Illyas <illyas.mansoor@intel.com>
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>
Vishwesh M Rudramuni [Wed, 4 Apr 2012 20:38:56 +0000 (02:08 +0530)]
[PATCH 5] i386_mfld_defconfig: Enabled MDLFD PM
BZ:26897
This patch enables the Medfield PMU driver in the config.
Change-Id: I226187d577b1f551632ad1305606d00b6994f68c
Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
Signed-off-by: Nivedha Krishnakumar <nivedha.krishnakumar@intel.com>
Signed-off-by: Ramachandra Sudarshan N <sudarshan.n.ramachandra@intel.com>
Signed-off-by: Youvedeep Singh <youvedeep.singh@intel.com>
Signed-off-by: Dyut K Sil <dyut.k.sil@intel.com>
Reviewed-on: http://android.intel.com:8080/40187
Reviewed-by: Mansoor, Illyas <illyas.mansoor@intel.com>
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>
Vishwesh M Rudramuni [Fri, 23 Mar 2012 10:18:32 +0000 (15:48 +0530)]
[PATCH 4] intel_soc_mdfld: PM driver for Medfield
BZ:26897
intel_soc_mdfld.c has code which is Medfield specfic
This patch has callbacks for pmu_power_off and
minor fixes in coretemp.c and sdhci-pci.c
Change-Id: I54bfc49c58c65b5eaa19e0525744fc5d1aea09cf
Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
Signed-off-by: Nivedha Krishnakumar <nivedha.krishnakumar@intel.com>
Signed-off-by: Ramachandra Sudarshan N <sudarshan.n.ramachandra@intel.com>
Signed-off-by: Youvedeep Singh <youvedeep.singh@intel.com>
Signed-off-by: Dyut K Sil <dyut.k.sil@intel.com>
Reviewed-on: http://android.intel.com:8080/40185
Reviewed-by: Mansoor, Illyas <illyas.mansoor@intel.com>
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>
Vishwesh M Rudramuni [Tue, 27 Mar 2012 06:58:33 +0000 (12:28 +0530)]
[PATCH 3] intel_idle: Idle driver changes for PM
BZ:26897
This patch has PM specific changes to idle driver catering to all
Platforms.
Change-Id: I4c8499c127afd18fbf0e64154428ebd5a5cbe612
Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
Signed-off-by: Nivedha Krishnakumar <nivedha.krishnakumar@intel.com>
Signed-off-by: Ramachandra Sudarshan N <sudarshan.n.ramachandra@intel.com>
Signed-off-by: Youvedeep Singh <youvedeep.singh@intel.com>
Reviewed-on: http://android.intel.com:8080/40186
Reviewed-by: Mansoor, Illyas <illyas.mansoor@intel.com>
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>
Vishwesh M Rudramuni [Thu, 29 Mar 2012 07:30:35 +0000 (13:00 +0530)]
[PATCH 2] intel_soc_pm: Refactored code for pm
BZ:26897
Power Management driver after code refactoring the existing pmu/idle driver
to have a single driver supporting future platforms like CLV
& Tangier.
intel_soc_pmu.c has code mostly interfacing pmu's in North Complex &
South Complex. Mostly platform independant code.
intel_soc_pm_debug.c for mostly debug related code.
intel_soc_pci.c for pci related functions.
Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
Signed-off-by: Nivedha Krishnakumar <nivedha.krishnakumar@intel.com>
Signed-off-by: Ramachandra Sudarshan N <sudarshan.n.ramachandra@intel.com>
Signed-off-by: Youvedeep Singh <youvedeep.singh@intel.com>
Signed-off-by: Dyut K Sil <dyut.k.sil@intel.com>
Change-Id: Id57714bbdf426dee451d0c7c062323cd91e2cdf7
Reviewed-on: http://android.intel.com:8080/40184
Reviewed-by: Rudramuni, Vishwesh M <vishwesh.m.rudramuni@intel.com>
Reviewed-by: Krishnakumar, Nivedha <nivedha.krishnakumar@intel.com>
Reviewed-by: Mansoor, Illyas <illyas.mansoor@intel.com>
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>
Vishwesh M Rudramuni [Thu, 29 Mar 2012 06:58:53 +0000 (12:28 +0530)]
[PATCH 1] mid_pmu: Removing the exisiting PMU Drv
BZ:26897
This patch removes the exisitng MFLD pmu drivers.
Change-Id: I30247a734ea10bb3ff8c4e62168fb344633d2c8e
Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
Signed-off-by: Nivedha Krishnakumar <nivedha.krishnakumar@intel.com>
Signed-off-by: Ramachandra Sudarshan N <sudarshan.n.ramachandra@intel.com>
Signed-off-by: Youvedeep Singh <youvedeep.singh@intel.com>
Signed-off-by: Dyut K Sil <dyut.k.sil@intel.com>
Reviewed-on: http://android.intel.com:8080/35951
Reviewed-by: Kuppuswamy, Sathyanarayanan <sathyanarayanan.kuppuswamy@intel.com>
Reviewed-by: Mansoor, Illyas <illyas.mansoor@intel.com>
Reviewed-by: Yang, Fei <fei.yang@intel.com>
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>
xiaojin [Thu, 19 Apr 2012 00:49:38 +0000 (08:49 +0800)]
n_gsm.c: Enhancement of gsm_mux TX/RX buf allocate
BZ: 28510
In LEX platform, we found huge kmalloc fail if repeated gsmld open and close
that trigged by stmd(userspace) or modem reset.
LEX memory size is 512M, only the half of Medfield.
Enhancement:
1. gsm_mux buf/txframe allocation moved to gsmld_config, according to mtu/mru of cfg
2. if encoding ==0, txframe allocate one mtu; otherwise allocate double mtu
3. if allocation size less than PAGE, use kmalloc; otherwise use vmalloc
This patch is part of the solution to TX/RX buffer allocate fail.
We also need to change mtu/mru in STMD, it should matched to N1 of AT+CMUX.
N1(Maximum Frame Size) of modem is 1509 now.
Signed-off-by: xiaojin <jin.xiao@intel.com>
Change-Id: I928f9943bce17c065e070750ccf6648d577b17ff
Reviewed-on: http://android.intel.com:8080/43942
Reviewed-by: Stoltz-douchet, OlivierX <olivierx.stoltz-douchet@intel.com>
Reviewed-by: Pillet, VincentX <vincentx.pillet@intel.com>
Reviewed-by: Xiao, Jin <jin.xiao@intel.com>
Reviewed-by: Roulliere, Pierre <pierre.roulliere@intel.com>
Reviewed-by: Liu, Chuansheng <chuansheng.liu@intel.com>
Reviewed-by: Predon, Frederic <frederic.predon@intel.com>
Reviewed-by: Lebsir, SamiX <samix.lebsir@intel.com>
Tested-by: Lebsir, SamiX <samix.lebsir@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Shijie Zhang [Tue, 24 Apr 2012 12:34:08 +0000 (20:34 +0800)]
intel_mid_gpadc: increase the GPADC driver init priority
BZ: 33128
Charger driver on CTP needs to call gpadc intereface during init, so
GPADC driver has to be initilized before the Charger driver.
This patch increases the GPADC driver init priority to fix this problem.
Change-Id: Ia0ec6c6c4fa2afe1938bdd79a6eb474e5371c6a1
Signed-off-by: Shijie Zhang <shijie.zhang@intel.com>
Reviewed-on: http://android.intel.com:8080/45275
Reviewed-by: Li, Ning <ning.li@intel.com>
Reviewed-by: Chen, Jie D <jie.d.chen@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Reviewed-by: Yang, Bin <bin.yang@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Shreyas Neerebailoor [Fri, 20 Apr 2012 10:22:43 +0000 (15:52 +0530)]
DMA: Move dma_pool_destroy to free channel
BZ: 31979
The DMA pool for LLI is destroyed in atomic context.
This function might sleep and it should not be called in atomic
context.
Moved the destroying of the DMA pool to free channel resource
function.
Change-Id: I7624a69de3d8a3815fb0b3733cf441a246aea045
Signed-off-by: Shreyas Neerebailoor <shreyasx.neerebailoor@intel.com>
Reviewed-on: http://android.intel.com:8080/44152
Reviewed-by: Abdullah, Omair M <omair.m.abdullah@intel.com>
Reviewed-by: Bensaid, Selma <selma.bensaid@intel.com>
Reviewed-by: Babu, Ramesh <ramesh.babu@intel.com>
Reviewed-by: Koul, Vinod <vinod.koul@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>
Fei Yang [Thu, 19 Apr 2012 23:26:38 +0000 (16:26 -0700)]
CRYPTO: enable twofish for android_secure
BZ: 33312
VOLD creates android_secure on primary storage, which requires twofish
cipher algorithm support from kernel. This patch enables TWOFISH.
Change-Id: I7dddb5bb7ef26a329cb1694268d68e869f438c6f
Signed-off-by: Fei Yang <fei.yang@intel.com>
Reviewed-on: http://android.intel.com:8080/44087
Reviewed-by: Kuppuswamy, Sathyanarayanan <sathyanarayanan.kuppuswamy@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Monroy, German <german.monroy@intel.com>
Tested-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Ramakrishna Pallala [Tue, 24 Apr 2012 01:48:37 +0000 (07:18 +0530)]
MFLD/Battery: Fix charging status reporting issue incase of OverTemp
BZ: 32569
This patch fixes the battery status reporting issue for high and
low temperatures. This patch also cleans up the status monitoring
worker by removing the code related to battery status computation
logic which was not required in status monitioring worker.
Change-Id: I6c5f628896f66a08fb6096ee74883b3e7ea70863
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Reviewed-on: http://android.intel.com:8080/45912
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>
Ramakrishna Pallala [Tue, 24 Apr 2012 09:45:37 +0000 (15:15 +0530)]
EM/Battery: Compute battery health from fuel gauge
BZ: 32795
This patch disables the power supply registration for
battery from smb347 charger driver and adds the capability
to compute battery health from max17042 fuel gauge driver.
Change-Id: I71150bbad8c914edfbae34d5ded0f7e744ce8568
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Reviewed-on: http://android.intel.com:8080/44357
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Reviewed-by: Jena, TapanX <tapanx.jena@intel.com>
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Eric Vorbe [Wed, 25 Apr 2012 14:21:13 +0000 (16:21 +0200)]
Revert "IMG code drop 840215 plus local changes"
BZ: 27656
This reverts commit
bcde9d363c2ef3938d39c4b14b09f75144cc6f85.
Change-Id: I30a9950adfc68558804d257d359a23ac0f7decc6
Signed-off-by: Eric Vorbe <ericx.vorbe@intel.com>
Reviewed-on: http://android.intel.com:8080/46057
Ashish K Singh [Mon, 16 Apr 2012 14:50:22 +0000 (20:20 +0530)]
staging/Kconfig: Changes to make Matrix driver visible in /dev
BZ: 22055
Change in Kconfig file to support Matrix driver.
Change-Id: Id547461b39cc9d003f7e24067640596672d918eb
Signed-off-by: Ashish K Singh <ashish.k.singh@intel.com>
Reviewed-on: http://android.intel.com:8080/43600
Reviewed-by: Hogander, Jouni <jouni.hogander@intel.com>
Reviewed-by: Monroy, German <german.monroy@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
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>
Zhang Dongxing [Fri, 20 Apr 2012 05:29:33 +0000 (13:29 +0800)]
panic_handle: make emmc_panic.c work without logger
BZ: 32660
When logger is disabled, emmc_ipanic.c is compiled with failure messages because
emmc_ipanic.c depended on logger module. At the same time, logger_pti.c has same issue.
For emmc_iapnic.c, dumping logcat buffer function is enabled only when CONFIG_ANDROID_LOGGER
is set to y. In order to use less macro references, some functions are moved to another
location without any change.
For logger_pti.c, we make ANDROID_LOGGRT_PTI depends on ANDROID_LOGGER. Then logger_pti.c and logger.c
can be enabled/disabled at the same time.
Change-Id: Ib59e85b022b4a163f8a002f2f2c405550fe28d62
Signed-off-by: Zhang Dongxing <dongxing.zhang@intel.com>
Reviewed-on: http://android.intel.com:8080/44106
Reviewed-by: Hogander, Jouni <jouni.hogander@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
jli127 [Tue, 24 Apr 2012 05:24:09 +0000 (13:24 +0800)]
driver/max11871: add sysfs debug interface
BZ: 32663
This patch add sysfs debug interface to
max11871 touchscreen driver.
The interfaces added includes command,
fw_ver, hreset, sreset, irq_count and
panel_params.
Signed-off-by: jli127 <jian.d.li@intel.com>
Change-Id: Ieabad396f23b2ee5868478c9f6f9b40360d4b9e0
Reviewed-on: http://android.intel.com:8080/45344
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@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>
Li, Ning [Mon, 23 Apr 2012 11:31:34 +0000 (19:31 +0800)]
hsu: do not stop log when system not hang
BZ: 30826
Console stops printing logs when oops_in_progress bit is set.
If if it's set and it's not a bug causing system hangs, we still
need to print logs after that. This patch is a fix under this situation.
Change-Id: I4f9fb1552d8ad1425b2bae3f9c9fc47e0a874bf7
Signed-off-by: Li, Ning <ning.li@intel.com>
Reviewed-on: http://android.intel.com:8080/44418
Reviewed-by: Zhang, Shijie <shijie.zhang@intel.com>
Reviewed-by: Berthier, Emmanuel <emmanuel.berthier@intel.com>
Reviewed-by: Chen, Jie D <jie.d.chen@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Reviewed-by: Yang, Bin <bin.yang@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
David Cohen [Mon, 16 Apr 2012 10:46:47 +0000 (13:46 +0300)]
atomisp: mt9e013: fix fuseid read operation
BZ: 33398
mt9e013 driver's function used to read an array of registers is used by
OTP and FUSEID read operations. But due to bug, that function was
ignoring addr argument and hardcoding OTP read registers.
This patch fixed such function to provide correct fuseid values.
Change-Id: I2a0e81da3a724dfb0a933633e294e450e9facc42
Signed-off-by: David Cohen <david.a.cohen@intel.com>
Reviewed-on: http://android.intel.com:8080/43567
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>
Eric Vorbe [Wed, 25 Apr 2012 09:15:16 +0000 (11:15 +0200)]
Revert "[PORT FROM R2]pti: Check if pti is enabled in mipi header"
BZ: 28818
This reverts commit
29baf44f0bb8d14636e58b400d9dc9a51d23c1fa.
Change-Id: Iebd395a606b6b83dad3cc9d801cd954706b12337
Signed-off-by: Eric Vorbe <ericx.vorbe@intel.com>
Reviewed-on: http://android.intel.com:8080/46022
David Cohen [Fri, 20 Apr 2012 14:21:04 +0000 (17:21 +0300)]
atomisp: reserve ioctls to avoid ABI conflicts for customer
BZ: 27960
Customer asked us to implement 2 ioctls for debug purpose. As such
ioctls can't be merged to our tree for security purpose, we're marking
them as reserved ioctls to avoid create ABI conflicts.
Change-Id: I26a83903ce5d3a01f1640e090db553a37c80b7db
Signed-off-by: David Cohen <david.a.cohen@intel.com>
Reviewed-on: http://android.intel.com:8080/44148
Reviewed-by: Wang, Wen W <wen.w.wang@intel.com>
Reviewed-by: Toivonen, Tuukka <tuukka.toivonen@intel.com>
Reviewed-by: Laakso, Antti <antti.laakso@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>
Andy Shevchenko [Mon, 16 Apr 2012 10:57:23 +0000 (13:57 +0300)]
lm3554: restructure i2c communications
BZ: 32196
Currently the driver uses the lm3554 registers as a storage for the values. Due
to this it communicates too often in both ways with the chip. It's a bit
suboptimal (*) and even potentialy wrong in some cases (**).
* driver uses an additional mutex for serialization and the
read-before-write technique
** when driver had used power on or off for the chip, the storage would have
become to the inconsistent state.
Thus this patch addresses mentioned inconveniences. It moves storege from
hardware to the struct lm3554 fields and uses only sequential writes to set a
value.
Change-Id: I3ec755d43999ea07384c4f18e31013dd8e4c69f6
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-on: http://android.intel.com:8080/43707
Reviewed-by: Shevchenko, Andriy <andriy.shevchenko@intel.com>
Reviewed-by: Toivonen, Tuukka <tuukka.toivonen@intel.com>
Reviewed-by: Cohen, David A <david.a.cohen@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Andy Shevchenko [Wed, 11 Apr 2012 14:06:22 +0000 (17:06 +0300)]
lm3554: simplify lm3554_s_flash_mode()
BZ: 32196
Accordingly to the datasheet there is no difference between torch and flash
registers when we set up the operating mode.
Change-Id: I5cbb7bd3c3ed5e2c6cf8713830dfebb2480dbdbb
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-on: http://android.intel.com:8080/43706
Reviewed-by: Shevchenko, Andriy <andriy.shevchenko@intel.com>
Reviewed-by: Toivonen, Tuukka <tuukka.toivonen@intel.com>
Reviewed-by: Cohen, David A <david.a.cohen@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Andy Shevchenko [Mon, 16 Apr 2012 13:18:48 +0000 (16:18 +0300)]
lm3554: use struct lm3554 as storage of actual values
BZ: 32196
There is no need to keep value in the hardware and sometimes it's even a bad
idea.
This patch partialy moves the storage from hardware to the struct lm3554 fields
and will be used later as well.
Change-Id: Ia80d465404bfb38bb24d02274ab95986d6a16870
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-on: http://android.intel.com:8080/43705
Reviewed-by: Shevchenko, Andriy <andriy.shevchenko@intel.com>
Reviewed-by: Toivonen, Tuukka <tuukka.toivonen@intel.com>
Reviewed-by: Cohen, David A <david.a.cohen@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Andy Shevchenko [Wed, 11 Apr 2012 11:58:41 +0000 (14:58 +0300)]
lm3554: rename of few types
BZ: 32196
This patch renames few types as follows
struct lm3554_priv -> struct lm3554
p_lm3554_priv -> flash
to_lm3554_priv() -> to_lm3554()
platform_data -> pdata
There is no functional change.
Change-Id: I0dc8a133f1ef90fb666d9dbd2b970cf9f8009103
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-on: http://android.intel.com:8080/43704
Reviewed-by: Shevchenko, Andriy <andriy.shevchenko@intel.com>
Reviewed-by: Toivonen, Tuukka <tuukka.toivonen@intel.com>
Reviewed-by: Cohen, David A <david.a.cohen@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Andy Shevchenko [Tue, 10 Apr 2012 10:11:14 +0000 (13:11 +0300)]
lm3554: small refactoring
BZ: 32196
- move platform data check upper in lm3554_probe()
- use struct lm3554_internal_ops
- remove dead and unused code
- append proper description
- add type of the subdevice
Change-Id: I6d752c26296db1c7f05dfe83e06f22866a6c53d1
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-on: http://android.intel.com:8080/43703
Reviewed-by: Shevchenko, Andriy <andriy.shevchenko@intel.com>
Reviewed-by: Wang, Wen W <wen.w.wang@intel.com>
Reviewed-by: Toivonen, Tuukka <tuukka.toivonen@intel.com>
Reviewed-by: Cohen, David A <david.a.cohen@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Dale Stimson [Thu, 15 Mar 2012 23:39:17 +0000 (16:39 -0700)]
IMG code drop 840215 plus local changes
BZ: 27656
Change-Id: I8a7b3ffdef00c8e5ec5a2b64c44a0239086f3357
Signed-off-by: Dale Stimson <dale.b.stimson@intel.com>
Reviewed-on: http://android.intel.com:8080/44346
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>
Shravan [Tue, 24 Apr 2012 06:11:26 +0000 (11:41 +0530)]
[EM/THERMAL]: Enabling DTS driver on CTP
BZ: 32757
This patch contains code to enable DTS driver on CTP
Change-Id: Ic17e25b9ea67cb90be5f9ad5cd65985fe0f1d2df
Signed-off-by: Shravan <shravan.k.b.m@intel.com>
Reviewed-on: http://android.intel.com:8080/45345
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Reviewed-by: R, Durgadoss <durgadoss.r@intel.com>
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
luliuhui [Tue, 24 Apr 2012 00:40:05 +0000 (08:40 +0800)]
Graphic: Critical Klocwork issues for GRAPHICS in round 103
BZ: 33105
Revise NULL pointer dereferenced issues in kernel in round 103 scan.
Change-Id: I93488fdb96bc0fa8693e7fd1d9b36027ae4d98a5
Signed-off-by: luliuhui <liuhui.lu@intel.com>
Reviewed-on: http://android.intel.com:8080/44735
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>
Jianxu Zheng [Thu, 19 Apr 2012 11:45:51 +0000 (19:45 +0800)]
ion: export functions to enable usage by kernel modules
BZ:32709
EXPORT_SYMBOL/EXPORT_SYMBOL_GPL is missing for the exposed ION
API. This patch adds the EXPORT_SYMBOL to the public ION API.
Change-Id: I88ff618506efd136eb1d1b2648edfb4cea4ae53d
Signed-off-by: Jianxu Zheng <jian.xu.zheng@intel.com>
Reviewed-on: http://android.intel.com:8080/44095
Reviewed-by: Wang, Wen W <wen.w.wang@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>
Jonathan DE CESCO [Wed, 18 Apr 2012 15:41:52 +0000 (17:41 +0200)]
net/core: fix rollback handler in register_netdevice_notifier
BZ: 31995
Coming from upstream commit
8f891489866ec62a87494eff3ed17c88152c32d4
"Within nested statements, the break statement terminates only the
do, for, switch, or while statement that immediately encloses it,
So replace the break with goto."
Change-Id: I5c11e8fb4424cd2418da3b14eab02a55cea8a719
Signed-off-by: RongQing.Li <roy.qing.li@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jonathan DE CESCO <jonathan.de.cesco@intel.com>
Reviewed-on: http://android.intel.com:8080/43912
Reviewed-by: Zayet, AymenX <aymenx.zayet@intel.com>
Reviewed-by: Jarzmik, Robert <robert.jarzmik@intel.com>
Reviewed-by: Regairaz, JulieX <juliex.regairaz@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Reviewed-by: Yang, Fei <fei.yang@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Monroy, German <german.monroy@intel.com>
Tested-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Amar Shankar [Thu, 12 Apr 2012 06:08:37 +0000 (11:38 +0530)]
EM: Enable kernel config flags for EM drivers
BZ: 31157
Enable the kernel config flags for Charger, BCU, Thermal and
DTS driver for Merrifield phone platform
Change-Id: I83c617913b71c8bd1079af73b9a42a824be83739
Signed-off-by: Amar Shankar <amarx.shankar@intel.com>
Reviewed-on: http://android.intel.com:8080/43230
Reviewed-by: Pujol, BenjaminX <benjaminx.pujol@intel.com>
Tested-by: P, Eshwar N <eshwar.n.p@intel.com>
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Amar Shankar [Thu, 12 Apr 2012 06:04:49 +0000 (11:34 +0530)]
EM/Battery: Charger helper: charger helper initial commit
BZ: 21548
Abstract charger operations in charger helper layer
This will expose interfaces to charger driver so that
hardware specific functions can be interfaced
Change-Id: I4a3d408f0d09d16fe9eaf2630c3f757e78165512
Signed-off-by: Amar Shankar <amarx.shankar@intel.com>
Reviewed-on: http://android.intel.com:8080/43229
Reviewed-by: Pujol, BenjaminX <benjaminx.pujol@intel.com>
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Tested-by: P, Eshwar N <eshwar.n.p@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Amar Shankar [Thu, 12 Apr 2012 06:00:51 +0000 (11:30 +0530)]
EM/Battery: Read battery profile and config
BZ: 15399
Read battery charge profile and battery config from
platfrom layer
Change-Id: I465f153c4335271fb282dc5b8d45959196d95d7d
Signed-off-by: Amar Shankar <amarx.shankar@intel.com>
Reviewed-on: http://android.intel.com:8080/43228
Reviewed-by: Pujol, BenjaminX <benjaminx.pujol@intel.com>
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Tested-by: P, Eshwar N <eshwar.n.p@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Amar Shankar [Thu, 12 Apr 2012 05:58:42 +0000 (11:28 +0530)]
EM/Battery: Implement APIs in Charger driver for FG
BZ: 19894
This patch contains 5 APIs added to the charger driver code
for the FG driver to access
Change-Id: I4f74a78b51cf5b0c3a677a9b0e9d85cc82b9e90c
Signed-off-by: Amar Shankar <amarx.shankar@intel.com>
Reviewed-on: http://android.intel.com:8080/43227
Reviewed-by: Pujol, BenjaminX <benjaminx.pujol@intel.com>
Tested-by: P, Eshwar N <eshwar.n.p@intel.com>
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Amar Shankar [Thu, 12 Apr 2012 05:55:27 +0000 (11:25 +0530)]
EM/Battery: Implement ADC sensor reading for charger
BZ: 15402
Implementation to fetch ADC sensor reading for obtaining adc channel
values in charger driver
Change-Id: If7800da1c6f145facaaf350cc39fac886c011f85
Signed-off-by: Amar Shankar <amarx.shankar@intel.com>
Reviewed-on: http://android.intel.com:8080/43226
Reviewed-by: Pujol, BenjaminX <benjaminx.pujol@intel.com>
Tested-by: P, Eshwar N <eshwar.n.p@intel.com>
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Amar Shankar [Thu, 12 Apr 2012 04:37:56 +0000 (10:07 +0530)]
EM/Battery: Registering for otg callback and getting otg capability
BZ: 15398
This patch adds the code for registering the charger driver with
otg driver for callback and obtaining the otg capabilities.
Callback registration and querying otg capabilities functions are
implemented as stubs.
Change-Id: Ia3f9af5f77730c1706a357ba968eeca523c46494
Signed-off-by: Amar Shankar <amarx.shankar@intel.com>
Reviewed-on: http://android.intel.com:8080/43225
Reviewed-by: Pujol, BenjaminX <benjaminx.pujol@intel.com>
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Tested-by: P, Eshwar N <eshwar.n.p@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Amar Shankar [Thu, 12 Apr 2012 04:28:27 +0000 (09:58 +0530)]
EM/Charger: Enable Basin Cove Charger Driver
BZ: 15397
Enable basin cove charger driver with initialization flows and
register with power supply subsystem
Change-Id: I241c0044e3f806285e76a8f6aa4a01e3055e5299
Signed-off-by: Amar Shankar <amarx.shankar@intel.com>
Reviewed-on: http://android.intel.com:8080/43224
Tested-by: P, Eshwar N <eshwar.n.p@intel.com>
Reviewed-by: Pujol, BenjaminX <benjaminx.pujol@intel.com>
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Amar Shankar [Thu, 12 Apr 2012 04:11:27 +0000 (09:41 +0530)]
EM/THERMAL: Enable platform thermal driver for Merrifield
BZ: 15131
This patch enables the platform thermal driver for
Merrifield BasinCove PMIC. This patch contains the
driver's initialization flow and exposes sysfs interfaces
to manipulate the PMIC Thermal registers
Change-Id: I17ec9f523f0c32eb8c7960057fc2eff7e512b88c
Signed-off-by: Amar Shankar <amarx.shankar@intel.com>
Reviewed-on: http://android.intel.com:8080/43213
Tested-by: P, Eshwar N <eshwar.n.p@intel.com>
Reviewed-by: Pujol, BenjaminX <benjaminx.pujol@intel.com>
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Amar Shankar [Thu, 12 Apr 2012 04:09:12 +0000 (09:39 +0530)]
EM/BCU: Enable BCU Driver for Merrifield Platform
BZ: 14348
This patch enables the basic functionality for the Burst
Control Unit inside the BasinCove PMIC on the Merrifield
platform.
This patch adds the sysfs interfaces that are used
to configure the voltage/current thresholds.
Change-Id: I014c6ddf7826022bc0033569079ff19ab06b810d
Signed-off-by: Amar Shankar <amarx.shankar@intel.com>
Reviewed-on: http://android.intel.com:8080/43212
Reviewed-by: P, Eshwar N <eshwar.n.p@intel.com>
Tested-by: P, Eshwar N <eshwar.n.p@intel.com>
Reviewed-by: Pujol, BenjaminX <benjaminx.pujol@intel.com>
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Jouni Hogander [Tue, 27 Mar 2012 10:36:32 +0000 (13:36 +0300)]
[PORT FROM R2]pti: Check if pti is enabled in mipi header
BZ: 28818
Check in init if pti is enabled in mipi header. In case of pti is
disabled return error to avoid further accesses on pti.
Change-Id: I587c12caa11619d49fe38e865e451821df502fa2
Signed-off-by: Jouni Hogander <jouni.hogander@intel.com>
Reviewed-on: http://android.intel.com:8080/45916
Reviewed-by: Guerard, Christophe <christophe.guerard@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Reviewed-by: Lebouc, Christophe <christophe.lebouc@intel.com>
Tested-by: Lebouc, Christophe <christophe.lebouc@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Ramakrishna Pallala [Mon, 23 Apr 2012 08:19:38 +0000 (13:49 +0530)]
smb347_charger: power supply registration clean up
BZ: 31946
This patch checks if the usb or mains charging is enabled by the
platform before registering with the power supply class. Also removes
few battery power supply attributes which are incorrectly implemented.
Change-Id: Ifb7c862bfcc2ccbdf149151a87bcccdbe2b45ef9
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Reviewed-on: http://android.intel.com:8080/44466
Reviewed-by: Jena, TapanX <tapanx.jena@intel.com>
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
yashodhan kurtadkar [Thu, 19 Apr 2012 09:37:57 +0000 (15:07 +0530)]
max17042: To fix chargefull error
BZ: 28919
This patch multiplies design_Cap and full_capnom
With the ModelMultiplication factor during initialization.
Change-Id: I3f682a41360f45f9c7a52112fa817a3ab9e036f3
Signed-off-by: yashodhan kurtadkar <yashodhan.kurtadkar@intel.com>
Reviewed-on: http://android.intel.com:8080/44005
Reviewed-by: Hari, NeelamX <neelamx.hari@intel.com>
Reviewed-by: Pallala, Ramakrishna <ramakrishna.pallala@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 [Fri, 20 Apr 2012 16:55:01 +0000 (00:55 +0800)]
intel_scu_ipcutil: add OSC_CLK setting ioctl support
BZ: 32771
This patch adds an OSC_CLK ioctl command for OSC_CLK control, which
makes OSC_CLK control, test and debug more easier.
Change-Id: I7e48106cd04633c5840bbb3e2b57fd3479a9e972
Signed-off-by: Shijie Zhang <shijie.zhang@intel.com>
Reviewed-on: http://android.intel.com:8080/44122
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>
Shijie Zhang [Mon, 16 Apr 2012 15:46:32 +0000 (23:46 +0800)]
leds-intel-kpd-gpio.c: adjust the kpd led brightness
BZ: 31930
On Lexington, KPD LED brightness is set too high. This patch
lowers the KPD LED brightbess to save power, and changes the
KPD LED output current level setting method according to the
AHK3292 Datasheet.
Change-Id: I99649b48a29dbc2939b3421042dfb8371b623347
Signed-off-by: Shijie Zhang <shijie.zhang@intel.com>
Reviewed-on: http://android.intel.com:8080/43534
Reviewed-by: Chen, Jie D <jie.d.chen@intel.com>
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>
Xiaokang Qin [Mon, 16 Apr 2012 03:18:40 +0000 (11:18 +0800)]
ipcutil: move oshob and osnib related in
BZ: 31397
Clean the ipc driver and move oshob and osnib related part into ipctuil
Change-Id: I425bfb7e930ddb80d9b45d54dc90e1fa32a91bb8
Signed-off-by: Shijie Zhang <shijie.zhang@intel.com>
Signed-off-by: Xiaokang Qin <xiaokang.qin@intel.com>
Reviewed-on: http://android.intel.com:8080/43571
Reviewed-by: Afantenos, Marie CecileX <marie.cecilex.afantenos@intel.com>
Tested-by: Afantenos, Marie CecileX <marie.cecilex.afantenos@intel.com>
Reviewed-by: Yang, Bin <bin.yang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Kalle Lampila [Tue, 17 Apr 2012 13:11:50 +0000 (16:11 +0300)]
atomisp: make dvs envelop size match to atomisp size step
BZ: 31288
This patch fixes issues set 1920x1088 resolution when dvs is
enabled. Dvs envelop height did not match to atomisp height step so
this patch make width and height round down nearest width and height
that match to steps.
Change-Id: I3ec862476f86537627f6245601f23db0d10f3346
Signed-off-by: Kalle Lampila <kallex.lampila@intel.com>
Reviewed-on: http://android.intel.com:8080/43842
Reviewed-by: Toivonen, Tuukka <tuukka.toivonen@intel.com>
Reviewed-by: Wang, Wen W <wen.w.wang@intel.com>
Reviewed-by: Cohen, David A <david.a.cohen@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Eric Vorbe [Mon, 23 Apr 2012 11:44:14 +0000 (13:44 +0200)]
Revert "smb347_charger: power supply registration clean up"
BZ: 31946
This reverts commit
5144c57dc5a3589e6cbb87070ff329af313ff274.
Change-Id: I593193113efcb9a4aedb96ca9d33e8df18ba5e59
Signed-off-by: Eric Vorbe <ericx.vorbe@intel.com>
Reviewed-on: http://android.intel.com:8080/44411
Durgadoss R [Thu, 19 Apr 2012 21:28:39 +0000 (02:58 +0530)]
EM/THERMAL: Adjust TjMax for Penwell CPU
BZ: 32229
The coretemp driver assumes the TjMax for Penwell as 100 C.
This has to be adjusted to 90 C, by checking the cpu model
for Penwell (which is 0x27). This patch fixes this problem
by adding the cpu model in adjust_tjmax heuristics.
Change-Id: Iccee36db1f37f0ae81adc4ae1d257af70c03c2a5
Signed-off-by: Durgadoss R <durgadoss.r@intel.com>
Reviewed-on: http://android.intel.com:8080/44116
Reviewed-by: Mitra, DebalinaX <debalinax.mitra@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>
xiaobing tu [Wed, 18 Apr 2012 07:04:45 +0000 (15:04 +0800)]
atomisp: use low order to allocate pages as our mobile memory is limited
BZ:31085 31905
REVERTME after changing the codes better.
With MTBF and Monkey testing, system often reset
vmstat shows memory is used up. kernel stack dump shows atomisp driver
is used to allocate many pages with order 3. It's quite too high, especially
when running on Lexington with 512M memory.
The patch changes it to use order 0 always.
Signed-off-by: xiaobing tu <xiaobing.tu@intel.com>
Change-Id: I2ceb3de6120a009c7cf3d649ee53f96a18143f44
Reviewed-on: http://android.intel.com:8080/43840
Reviewed-by: Koski, Anttu <anttu.koski@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: Zhang, Yanmin <yanmin.zhang@intel.com>
Reviewed-by: Jarzmik, Robert <robert.jarzmik@intel.com>
Reviewed-by: Cohen, David A <david.a.cohen@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Leo Yan [Thu, 19 Apr 2012 05:11:06 +0000 (13:11 +0800)]
hwmon/mpu3050: Increase device power up delay
BZ: 32281
Increase the device power up delay to avert reporting incorrect data
before the data sampling is stable.
Change-Id: Ic2abe753f3857dfd8274545895b18b837d90b6de
Signed-off-by: Leo Yan <leo.yan@intel.com>
Reviewed-on: http://android.intel.com:8080/43957
Reviewed-by: Liu, Hong <hong.liu@intel.com>
Reviewed-by: Wang, Zhifeng <zhifeng.wang@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>
Michie Yamauchi [Mon, 16 Apr 2012 12:56:33 +0000 (14:56 +0200)]
atomisp: CSS/FW release from Synergy baseline of 11Apr2012
BZ: 27422 31660 31928
This release of CSS/FW addresses the following issues:
- Visible colorful blocks can be seen for QVGA video recording
- YUV upscaling
- 3A/DIS statistics verification error for YUV up-scaling in video
Change-Id: I274ea8495cd2e6d9aa2001758c0bed42cb518e12
Reviewed-on: http://android.intel.com:8080/43582
Reviewed-by: Yamauchi, Michie <michie.yamauchi@intel.com>
Reviewed-by: Kruger, Jozef <jozef.kruger@intel.com>
Reviewed-by: Lampila, KalleX <kallex.lampila@intel.com>
Tested-by: Lampila, KalleX <kallex.lampila@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Arnaud Mandy [Mon, 16 Apr 2012 10:50:41 +0000 (13:50 +0300)]
atomisp: access to FNUMBER IOCTL
BZ: 31987
allowing access to get FNUMBER from sensor driver from ioctl.
Change-Id: I968ca1f0cd779162caeebcb3b11f452eed285cac
Signed-off-by: Arnaud Mandy <arnaud.mandy@intel.com>
Reviewed-on: http://android.intel.com:8080/43572
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Kruger, Jozef <jozef.kruger@intel.com>
Reviewed-by: Toivonen, Tuukka <tuukka.toivonen@intel.com>
Reviewed-by: Laakso, Antti <antti.laakso@intel.com>
Reviewed-by: Wang, Wen W <wen.w.wang@intel.com>
Reviewed-by: Cohen, David A <david.a.cohen@intel.com>
Tested-by: Lampila, KalleX <kallex.lampila@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Christophe Bransiec [Wed, 18 Apr 2012 12:31:07 +0000 (14:31 +0200)]
[CTP_PR0][CWS-BT] : defconfig: Enable BT Human Interface Device Protocol
BZ: 31703
Can't use BT mouse and BT keyboard on the DUT even when devices are correctly paired
Bluetooth HIDP module is not activated in kernel configuration,
this patch enables it as a built-in module.
Change-Id: If7fc41e011d1bd338ff03e38a50f6e8404b978f3
Signed-off-by: Christophe Bransiec <christophex.bransiec@intel.com>
Reviewed-on: http://android.intel.com:8080/43885
Reviewed-by: Champciaux, Nicolas <nicolas.champciaux@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Reviewed-by: Gros, JulienX <julienx.gros@intel.com>
Reviewed-by: Aquilone, RaffaeleX <raffaelex.aquilone@intel.com>
Reviewed-by: Beldie, OvidiuX <ovidiux.beldie@intel.com>
Tested-by: Champciaux, Nicolas <nicolas.champciaux@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Omair Mohammed Abdullah [Fri, 20 Jan 2012 07:05:33 +0000 (12:35 +0530)]
audio: platform: clean up platform driver to support future platforms
BZ: 15815
Platform driver contains Medfield specific code which needs to be removed so
that other platforms can be supported with same platform driver.
This change makes the SST driver register to the platform driver instead of the
other way round. The intel_sst_set_pll() function is replaced by the
intel_scu_ipc_set_osc_clk0() function and a proper calling mechanism is set up
in the machine driver. The intel_sst.h file is replaced by sst_platform.h. Some
ASoC core changes are backported from the upstream tree. Clock and PLL
enabling/disabling sequence is changed.
Change-Id: I40848eb0ebd671d988428daccccd9b8027752123
Signed-off-by: Omair Mohammed Abdullah <omair.m.abdullah@linux.intel.com>
Reviewed-on: http://android.intel.com:8080/33673
Reviewed-by: Abdullah, Omair M <omair.m.abdullah@intel.com>
Reviewed-by: Babu, Ramesh <ramesh.babu@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>
Omair Mohammed Abdullah [Sun, 5 Feb 2012 13:43:04 +0000 (19:13 +0530)]
audio: sst: Move SST driver to soc/mid-86 directory
BZ: 15815
Moving SST driver from sound/pci/sst to the sound/soc/mid-x86 directory since it
depends on the SST platform and codec drivers. Also fixed some formatting errors.
Change-Id: I7f38eb2beb7cc5719d488d71c5e7f7c6d6338e25
Signed-off-by: Omair Mohammed Abdullah <omair.m.abdullah@linux.intel.com>
Reviewed-on: http://android.intel.com:8080/33991
Reviewed-by: Abdullah, Omair M <omair.m.abdullah@intel.com>
Reviewed-by: Babu, Ramesh <ramesh.babu@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>
Sundar Iyer [Thu, 19 Apr 2012 04:04:59 +0000 (12:04 +0800)]
GFX-Display: enable deep sleep standby on Sony panels
BZ: 32027
Enable the deep sleep standby sequence on the Sony panels on the Lexington
FF device. This change reduces the leakage on the panel during standby by
aboud 6mW. This change should also bring down the power in all display off
use cases like display off, audio playback.
Change-Id: Id0f3302006fff08dc7ae5da5fe521be69dcd5746
Signed-off-by: ljia5 <lin.a.jia@intel.com>
Signed-off-by: Sundar Iyer <sundar.iyer@intel.com>
Reviewed-on: http://android.intel.com:8080/43952
Reviewed-by: Mansoor, Illyas <illyas.mansoor@intel.com>
Reviewed-by: Monroy, German <german.monroy@intel.com>
Tested-by: Martin, LoicX <loicx.martin@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Zhongjun Chen [Tue, 17 Apr 2012 08:05:28 +0000 (16:05 +0800)]
Instrument HDCP authentication process
BZ: 31612
There are 3 minor Changes in the patch:
1) Print log when error happens during HDCP authentication process.
2) Cleanup coding style messes.
3) Assign IOCTL command id DRM_PSB_SET_CSC to 0x2a as 0x29 is used by DRM_PSB_CSC_GAMMA_SETTING.
Change-Id: I1f67cb291a33068b05bcfc74ca01698998843463
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
Signed-off-by: Zhongjun Chen <zhongjunx.chen@intel.com>
Reviewed-on: http://android.intel.com:8080/43320
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>
Wu, Hao [Tue, 17 Apr 2012 08:07:49 +0000 (16:07 +0800)]
smb347: need smb347 to control USB OTG VBUS.
BZ: 32122
Need smb347 to control USB OTG VBUS for DV20.
Change-Id: I1807c97dce0ee45c7a864d0132360f0ecac76abf
Signed-off-by: Wu, Hao <hao.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/43675
Reviewed-by: Pallala, Ramakrishna <ramakrishna.pallala@intel.com>
Reviewed-by: Tang, Richard <richard.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>
Wu, Hao [Tue, 17 Apr 2012 09:14:53 +0000 (17:14 +0800)]
usb/penwell_otg: clean up rpm callbacks
BZ: 32151
Remove dead code and return call stauts. This patch
is ported from OTC branch.
Change-Id: Ieba5c1f934fd77a7d3e805c7f690e7b89c9ef982
Signed-off-by: Wu, Hao <hao.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/43673
Reviewed-by: Tang, Richard <richard.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>