01 Jul, 2016
3 commits
-
there is a time window between __mmc_send_status() and time_afer(),
on some eMMC chip, the timeout_ms is only 10ms, if this thread was
scheduled out during this period, then, even card has already changes
to transfer state by the result of CMD13, this part of code also treat
it to timeout error.
So, need calculate timeout first, then call __mmc_send_status(), if
already timeout and card still in programing state, then treat it to
the real timeout error.Signed-off-by: Chaotian Jing
Signed-off-by: Ulf Hansson
(cherry picked from commit 3bbb0deea6d5c6d5ed38ae927a5bf9b0cd7c8639)
Signed-off-by: Haibo Chen
(cherry picked from commit b9b8249b98b9128d8931887eccb38cd45a0f8bf3) -
Now, when call esdhc_set_timeout() to set the data timeout counter value,
IPP_RST_N(bit 23) is wrongly affected. This patch add a mask to avoid this.Signed-off-by: Haibo Chen
(cherry picked from commit 6713b713dda4382677bc31a16d6ff3ef23f2d1ac) -
Our Reference Manual has a mistake, for the register SYS_CTRL,the
DTOCV(bit 19~16) means the data timeout counter value. When DTOCV
is set to 0xF, it means SDCLK << 29, not SDCLK << 28.This patch correct this in our usdhc driver.
Signed-off-by: Haibo Chen
(cherry picked from commit df9598d6dd617ed87b2e41e29bfc794b69831e86)
27 Jun, 2016
1 commit
-
Add HSIC support for imx7d. We have not supported HSIC as system
wakeup as well as HSIC remote wakeup function at DSM mode, since
the 24M OSC can't be off and the SoC internal regulators can't be
off at this mode, that will keep power consumption much higher.Signed-off-by: Peter Chen
13 Jun, 2016
1 commit
-
Import patch from BCM to fix the p2p group
owner 5GHz channel issue.Signed-off-by: Wang Haoran
31 May, 2016
2 commits
-
This reverts commit d60d208e53db28b7db44f8c54399513d611d069d.
26 May, 2016
1 commit
-
the original fix (MGS-755) for vg memory leak is incomplete,
further destroy the node handle to free the integer id with vg memory.Date: May 26, 2016
Signed-off-by: Xianzhong
25 May, 2016
1 commit
-
Fix compile error when make imx_v7_mfg_defconfig.
Signed-off-by: zhang sanshan
24 May, 2016
10 commits
-
To i.MX7D and i.MX6ULL, we need to support multiple iomux controller,
but we only have one imx_pinctrl_desc with type static. This means
different iomux controller share one imx_pinctrl_desc variable.The value filled into imx_pinctrl_desc when probing the first iomuxc
node will be overriden when probing the second one.This will incur errors, such as
'mx7d-pinctrl 30330000.iomuxc: could not map pin config for
"MX7D_PAD_LCD_DATA00"'In this patch, dynamically allocate imx_pinctrl_desc for each iomux
controller to fix the issue.Signed-off-by: Peng Fan
(cherry picked from commit 355b1f2153463bf838e928ffcab871e32cc5081f) -
The 'pm_runtime_get_sync()' and 'pm_runtime_put_sync_suspend()'
may be called not pairs. And this will cause the 'usage_count'
to be negative.Signed-off-by: Fancy Fang
(cherry picked from commit 10135c736dfc1b3d5c449adb78118e3642b99276) -
Add 'ipg' and 'axi' clocks for pxp which should
be used to control runtime power managments.Signed-off-by: Fancy Fang
-
missed the brackets for bch legacy support, which leads the large oob
nand bch setting to wrong path.Signed-off-by: Han Xu
-
Provide an option in DT to use legacy bch geometry, which compatible
with the 3.10 kernel bch setting. To enable the feature, adding
"fsl,legacy-bch-geometry" under gpmi-nand node.NOTICE: The feature must be enabled/disabled in both u-boot and kernel.
Conflicts:
drivers/mtd/nand/gpmi-nand/gpmi-nand.hSigned-off-by: Han Xu
(cherry picked from commit 4d28b1693905526558892d40525763e6bc4469e4) -
Fix chipidea usb driver compile warning if CONFIG_USB_CHIPIDEA_HOST
is disabled:
In file included from drivers/usb/chipidea/otg.c:26:0:
drivers/usb/chipidea/host.h:23:13: warning: 'ci_hdrc_host_driver_init'
defined but not used [-Wunused-function]
static void ci_hdrc_host_driver_init(void)
^
CC drivers/usb/chipidea/otg_fsm.o
In file included from drivers/usb/chipidea/otg_fsm.c:34:0:
drivers/usb/chipidea/host.h:23:13: warning: 'ci_hdrc_host_driver_init'
defined but not used [-Wunused-function]
static void ci_hdrc_host_driver_init(void)
^Signed-off-by: Li Jun
-
The 'otm8018b' is the Source Driver IC which is used
by 'TFT3P5079E' panel. This patch is adding the build
support for the 'otm8018b' kernel driver.Signed-off-by: Fancy Fang
-
The 'otm8018b' is the Source Driver IC for 'TFT3P5079E'
mipi panel. This patch is the kernel driver for 'otm8018b'.
No backlight brightness adjustment function, since this is
not supported by imx7d sdb revb board.Signed-off-by: Fancy Fang
Signed-off-by: Frank Li -
fix the potential integer overflow issue found by coverify.
Signed-off-by: Han Xu
-
fix the raw_buffer pointer double free issue found by coverify.
Signed-off-by: Han Xu
20 May, 2016
1 commit
-
fi->f is set in f_midi's alloc_func, need to clean this to
NULL in free_func, otherwise on ConfigFS's function switch,
midi->usb_function it self is freed, fi->f will be a wild
pointer and run into below kernel panic:
---------------
[ 58.950628] Unable to handle kernel paging request at virtual address 63697664
[ 58.957869] pgd = c0004000
[ 58.960583] [63697664] *pgd=00000000
[ 58.964185] Internal error: Oops: 80000005 [#1] PREEMPT SMP ARM
[ 58.970111] Modules linked in:
[ 58.973191] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.1.15-03504-g34c857c-dirty #89
[ 58.981024] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[ 58.987557] task: c110bd70 ti: c1100000 task.ti: c1100000
[ 58.992962] PC is at 0x63697664
[ 58.996120] LR is at android_setup+0x78/0x138[ 60.044980] 1fc0: ffffffff ffffffff c1000684 00000000 00000000 c108ecd0 c11f7294 c11039c0
[ 60.053181] 1fe0: c108eccc c110d148 1000406a 412fc09a 00000000 1000807c 00000000 00000000
[ 60.061420] [] (android_setup) from [] (udc_irq+0x758/0x1034)
[ 60.068951] [] (udc_irq) from [] (handle_irq_event_percpu+0x50/0x254)
[ 60.077165] [] (handle_irq_event_percpu) from [] (handle_irq_event+0x3c/0x5c)
[ 60.086072] [] (handle_irq_event) from [] (handle_fasteoi_irq+0xe0/0x198)
[ 60.094630] [] (handle_fasteoi_irq) from [] (generic_handle_irq+0x2c/0x3c)
[ 60.103271] [] (generic_handle_irq) from [] (__handle_domain_irq+0x7c/0xec)
[ 60.112000] [] (__handle_domain_irq) from [] (gic_handle_irq+0x24/0x5c)
--------------Signed-off-by: Winter Wang
19 May, 2016
1 commit
-
The head list may be corrupted when two requests from
the same 'pxp_chan' are issued sequentially. So change
the issue_pending function to strictly serialized the
requests to avoid this kind of issue.Signed-off-by: Fancy Fang
(cherry picked from commit 3ed71dcdd8ceeb3725399053f31c1930d2e7a08d)
16 May, 2016
1 commit
-
This piece of code is existed at imx_3.10, but missing at imx_3.14 and
imx_4.1, port it from imx_3.10.Signed-off-by: Peter Chen
(cherry picked from commit 901f278a08baf6e5109bcf538f1f78cdbbccd389)
12 May, 2016
1 commit
-
Windows requires OS specific descriptors for automatic
install of drivers for MTP devices.https://msdn.microsoft.com/en-us/library/windows/
hardware/gg463179.aspxBUG=24583401
BUG=chrome-os-partner:43409Change-Id: I9397072ca3d183efbc9571c6cde3790f10d8851e
Signed-off-by: Badhri Jagan Sridharan
Reviewed-on: https://chromium-review.googlesource.com/304346
Commit-Ready: Andrew Bresticker
Tested-by: Andrew Bresticker
Reviewed-by: Andrew Bresticker
11 May, 2016
3 commits
-
Add clk_settle variable to compliance more mipi sensor.
Mipi controller should setting by followed value
according mipi sensor support D-phy version.Slave Clock Lane Control Register for TCLK-SETTLE.
2'b0x = 110 ns to 280ns (v0.87 to v1.00)
2'b10 = 150 ns to 430ns (v0.83 to v0.86)
2'b11 = 60 ns to 140ns (v0.82)Signed-off-by: Sandor Yu
(cherry picked from commit 928103ba7d28a7dbddf950892cb9d49ec2b192d3) -
Combine csi image setting function for 32-bit,16-bit,8-bit format.
For parallel 8-bit sensor input, when bit per pixel is 16,
csi image width should been doubled.
But for mipi input, the csi image width and height should align
with mipi whatever data width.Signed-off-by: Sandor Yu
(cherry picked from commit caa8725e713691b42aa112a6e51f12e7d595f139) -
-Support no power and reset pins platform.
-Remove specific power and reset pin setting for ov5640 daughter card.
-Put sensor in software power down state when streamoff.
-Remove unsupported video modes, keep 640x480, 720x480, 720p, 1080p 30fps
video modes in driver.Signed-off-by: Sandor Yu
(cherry picked from commit 6a6c44e2406dcd9481e3103ca2710a319265c52a)
05 May, 2016
4 commits
-
Clean dead code in caam driver.
Signed-off-by: Wang Haoran
-
Assign the initial value to the "prev" pointer.
Signed-off-by: Wang Haoran
-
If CMA reserved base and limit value are not assigned,
set limit value to high memory bondary to use low memory.
It is aligned with CMA in DTS configuration.Signed-off-by: Xiaowen Liu
-
task_free_register is removed from linux kernel 4.1.
That is replace with task_handoff_register.
But the task handoff notifier leaks task_struct since it never gets freed
after the callback returns NOTIFY_OK.
Change task_notify_func return from NOTIFY_OK to NOTIFY_DONE to avoid this.Signed-off-by: Xiaowen Liu
29 Apr, 2016
2 commits
-
Bcmdhd wifi driver default build as module, now default build in
this wifi driver. To support this build in feature, this patch
add flag ENABLE_INSMOD_NO_FW_LOAD, and use extern function
sdio_reset_comm() as instead.Signed-off-by: Haibo Chen
-
This patch add function sdio_reset_comm() to support bcmdhd wifi
dirver build-in type.Signed-off-by: Haibo Chen
28 Apr, 2016
3 commits
-
As android framework need the uether netdev be unregistered
when plug-out usb cable or disable usb tethering settings.
Put the uether's setup and unregister from usb function instance's
alloc/free to usb function's, so if switch to other usb function,
the uether netdev will be unregisted.Signed-off-by: Winter Wang
-
Revert "uid_cputime: Extends the cputime functionality to report power per uid"
This reverts commit 33d456aa219c3828d4e8f8370ebd6ce52714b6d9.
Signed-off-by: zhang sanshan
Conflicts:
drivers/misc/uid_cputime.c -
Revert "uid_cputime: Avoids double accounting of process stime, utime and cpu_power in"
This reverts commit ffa68f9e2758bd184eb246ee35acff27ab82d112.
Signed-off-by: zhang sanshan
22 Apr, 2016
1 commit
-
In 4.1 the sendmsg will use the iov_iter in
skb sending. The pppopns driver failed to assign its
value. So that the sendmsg will always failed.This issue will block the ppp application like VPN.
Assign correct msg_iter from skb will fix the issue.
Signed-off-by: Wang Haoran
19 Apr, 2016
1 commit
15 Apr, 2016
1 commit
-
The warning is caused by closing unsignaled fence objects,
without wait in _DequeueBuffer can improve performance,
gpu kernel hal has mechanism to guarantee singal a freed
sync_point is safe, remove this warning to avoid confuse.Signed-off-by: Richard Liu
14 Apr, 2016
1 commit
-
When CONFIG_MMC=m, compile error shows up
ERROR: "of_alias_max_index" [drivers/mmc/core/mmc_core.ko] undefined!
ERROR: "mmc_get_reserved_index" [drivers/mmc/card/mmc_block.ko] undefined!
ERROR: "mmc_first_nonreserved_index" [drivers/mmc/card/mmc_block.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
make: *** Waiting for unfinished jobs....This patch export the upper three symbol for module runtime load.
Signed-off-by: Haibo Chen
13 Apr, 2016
1 commit
-
GPU 3D clock will still enable/disable when video playback,
actually there is no 3D usage, to saving power we should
avoid 3D clock enable/disable. This patch optimize event
synchronization by not pass signal/sync_point to gpu when
current gcoHARDWARE is already sync'ed GPU and no command
buffer required.Date: Apr 13, 2016
Signed-off-by: Richard Liu
Signed-off-by: Meng Mingming