summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-04-01ENGR00254106 Avoid incorrect GPU frequency scaling be overwrittenLoren Huang
Correct code to remove unnecessary GPU frequency scaling updte. This patch is from vivante. Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Lily Zhang
2013-04-01ENGR00256629 V4L2 output: Fix color bar issue on 1080p HDMI displayWayne Zou
When doing video playback on video16, which is also the first framebuffer and used for fb console as well, there is a color bar on top of 1080p screen. We need to make sure the correct vmode when doing pan display. Signed-off-by: Wayne Zou <b36644@freescale.com>
2013-03-29ENGR00255104 The opening time of cs42888 is very long, about 400msb02247
In this commit 957bc47ffbad8532f0e8f6463946e8c04bc3176f, add msleep(400) for reducing noise in the hw_params, but this time is very long for opening device. In this patch, remove this time and use the "Soft Ramp on Zero Crossings" to reduce the noise. Signed-off-by: b02247 <b02247@freescale.com>
2013-03-29ENGR00255406 net: fec: Workaround tx hang due to TDAR bit cleared by uDMAFugang Duan
MTIP enet IP have one IC issue recorded at PDM ticket:TKT168103 The issue description: The TDAR bit after being set by software is not acted upon by the ENET module due to the timing of when the ENET state machine clearing the TDAR bit occurring coincident or momentarily after the software sets the bit. The result: The corresponding transmit packet for an incoming ping is delayed. Workaround: This forces the ENET module to check the Transmit buffer descriptor and take action if the “ready” flag is set. Otherwise the ENET module returns to idle mode. Signed-off-by: Fugang Duan <B38611@freescale.com>
2013-03-28ENGR00255322 Disable non-contiguous memory using for VGLoren Huang
Current OpenVG doesn't support to use non-contiguous memory. Forbid VG to try to allocate non-contiguous memory when video memory is used up temporarily. Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Lily Zhang
2013-03-27ENGR00255111 battery: fix voltage decreased only while dischargingRobin Gong
If system run higher cpu loading with bigger current, such as GPU or VPU, the voltage of battery will decrease down quickly and rise up later.But the battery driver only permit voltage decreasing while discharging before, in other words, in the above case , the voltage will keep in very low level, although the voltage will rise back again. Now, remove the constrain in the code. Of course, with the patch, voltage will down and rise back when run high loading user case, but it's better than LOW ALWAYS, in worst case, the battery capacity will be 0 as test team reported Please note : Current battery capaity is not accurate because of hardware design defect(ENGR00219632) on Sabresd.So please ignore the accuracy issue. Signed-off-by: Robin Gong <b38343@freescale.com>
2013-03-27ENGR00255481 mx6: Update equation for thermal sensorAnson Huang
Use universal equation and 25C's calibration data to get thermal sensor's ratio. If want to use old calibration method, please add "use_calibration" into kernel command line. Signed-off-by: Anson Huang <b20788@freescale.com>
2013-03-22ENGR00255491 ov5640: Fix build break by make modulesRobby Cai
Fix the kernel modules building error for mx6q/mx6dl as follows: LD [M] drivers/usb/gadget/g_serial.o Building modules, stage 2. MODPOST 48 modules ERROR: "csi_enable_mclk" [drivers/media/video/mxc/capture/ov5640_camera.ko] undefined! make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2 Signed-off-by: Robby Cai <R63905@freescale.com>
2013-03-22ENGR00255484-3 msl: usb: add clock deinit at fail pathPeter Chen
If not, the clocks usage will be mismatch Signed-off-by: Peter Chen <peter.chen@freescale.com>
2013-03-22ENGR00255484-2 usb: ehci-arc: add NULL pointer check for pdata->pdevPeter Chen
The pdata->pdev is initialized at platform code, if init fails at first, it will be not initialized, and platform exit will not be called. This also fixes an oop when config usb module wrongly: Unable to handle kernel NULL pointer dereference at virtual address 0000005c pgd = ba1c4000 [0000005c] *pgd=4a145831, *pte=00000000, *ppte=00000000 Internal error: Oops: 17 [#1] PREEMPT SMP Modules linked in: ehci_hcd(+) usbcore CPU: 1 Not tainted (3.0.35-02451-ge361da1 #60) PC is at fsl_usb_host_uninit_ext+0xc/0x28 LR is at usb_hcd_fsl_probe+0x2c8/0x44c [ehci_hcd] pc : [<80062b58>] lr : [<7f060934>] psr: a0000013 sp : ba11be80 ip : 00005027 fp : 000a76e0 r10: 00000048 r9 : ba11a000 r8 : bfd4d608 r7 : ffffffed r6 : bfd4d600 r5 : bfc84400 r4 : 80aaee48 r3 : 80062b4c r2 : 00000000 r1 : 60000093 r0 : 00000000 Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user Control: 10c53c7d Table: 4a1c404a DAC: 00000015 Process modprobe (pid: 1555, stack limit = 0xba11a2f0) Stack: (0xba11be80 to 0xba11c000) be80: bfd97600 7f060934 00000000 00000000 bfd4d608 bfd4d608 80aca808 bfd4d63c bea0: 7f062bd4 80041704 ba11a000 00000000 000a76e0 802a5cec bfd4d608 802a4a14 bec0: bfd4d608 7f062bd4 bfd4d63c 00000000 80041704 802a4bac 7f062bd4 ba11bee8 bee0: 802a4b20 802a4254 bffd4040 bff03f38 7f065000 7f062bd4 80a934c8 bfc8cd20 bf00: 00000000 802a3be0 7f062b1c 7f062bd4 00000000 7f017ec8 7f062bd4 00000000 bf20: 7f065000 80041704 00000000 802a51a0 7f017ec8 80aae500 00000000 7f065000 bf40: 80041704 7f065058 000a79e8 8003b4c4 00000000 00000000 00000000 80a14834 bf60: 000a79e8 000a79e8 7f062c20 00000000 0000e67b 80041704 ba11a000 00000000 bf80: 000a76e0 800aa428 ba076740 800f58dc 000a79e8 0000e67b 00000000 000a75d0 bfa0: 00000080 80041580 0000e67b 00000000 000a79e8 0000e67b 000a75d0 000a76e0 bfc0: 0000e67b 00000000 000a75d0 00000080 000a6a78 00000008 000a76a0 000a76e0 bfe0: 7ec7ab50 7ec7ab40 0001a32c 2ace6490 20000010 000a79e8 4fffe821 4fffec21 [<80062b58>] (fsl_usb_host_uninit_ext+0xc/0x28) from [<7f060934>] (usb_hcd_fsl_probe+0x2c8/0x44c [ehci_hcd]) [<7f060934>] (usb_hcd_fsl_probe+0x2c8/0x44c [ehci_hcd]) from [<802a5cec>] (platform_drv_probe+0x18/0x1c) [<802a5cec>] (platform_drv_probe+0x18/0x1c) from [<802a4a14>] (driver_probe_device+0x98/0x1a4) [<802a4a14>] (driver_probe_device+0x98/0x1a4) from [<802a4bac>] (__driver_attach+0x8c/0x90) [<802a4bac>] (__driver_attach+0x8c/0x90) from [<802a4254>] (bus_for_each_dev+0x60/0x8c) [<802a4254>] (bus_for_each_dev+0x60/0x8c) from [<802a3be0>] (bus_add_driver+0x184/0x25c) [<802a3be0>] (bus_add_driver+0x184/0x25c) from [<802a51a0>] (driver_register+0x78/0x13c) [<802a51a0>] (driver_register+0x78/0x13c) from [<7f065058>] (ehci_hcd_init+0x58/0x88 [ehci_hcd]) [<7f065058>] (ehci_hcd_init+0x58/0x88 [ehci_hcd]) from [<8003b4c4>] (do_one_initcall+0x30/0x16c) [<8003b4c4>] (do_one_initcall+0x30/0x16c) from [<800aa428>] (sys_init_module+0x84/0x19c) [<800aa428>] (sys_init_module+0x84/0x19c) from [<80041580>] (ret_fast_syscall+0x0/0x30) Code: 80aaee48 e92d4010 e30e4e48 e34840aa (e590005c) ---[ end trace 719afdfe4af3a442 ]--- Signed-off-by: Peter Chen <peter.chen@freescale.com>
2013-03-22ENGR00255484-1 msl: usb: add NULL poiner check for fsl_xcvr_opsPeter Chen
Add NULL pointer check for global fsl_xcvr_ops Signed-off-by: Peter Chen <peter.chen@freescale.com>
2013-03-22ENGR00255482 ASoC: HDMI-audio: Add error message for HDMI-video detect failureNicolin Chen
HDMI-audio depends on HDMI-video. If users want to use HDMI-audio function, they need to load HDMI-video first. Sometime users would forget to put video info into U-boot cmdline, "video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24" for example. That might cause HDMI-auido driver fail to detect HDMI-video. Previously, if this happened to system, driver only returned with "ENOMEM" and system would print "Can't allocate memory". This might confuse users due to the vague infomation. Users would be hard to figure out the root cause. So this patch just add some error message to give users a clear indication, and changed the "ENOMEM" error number to the more precise "ENODEV". Acked-by: Wang Shengjiu <b02247@freescale.com> Signed-off-by: Nicolin Chen <b42378@freescale.com>
2013-03-21ENGR00255029 ASoC: spdif: fix clk_enable/disable() mismatched issueNicolin Chen
The function might be returned if the CNEW wasn't detected, while in this case the code won't disable the clk. This patch just fixed the mismatch. Signed-off-by: Nicolin Chen <b42378@freescale.com>
2013-03-21ENGR00252064-3 camera: ov5640: fix missed setting for light_frequencyRobby Cai
Confirmed from OV, the missed setting for light_frequency need to be added. Signed-off-by: Robby Cai <R63905@freescale.com>
2013-03-21ENGR00252064-2 mx6sl: ov5640: need enable MCLK before read sensor IDRobby Cai
After the patch of auto-detection for sensor pushed, there's a need to read sensor ID in probe function. But on MX6SL, MCLK is not enabled at that time. So need to enable it before read sensor ID. Signed-off-by: Robby Cai <R63905@freescale.com>
2013-03-21ENGR00252064-1 csi/v4l: need power on sensor for its initializationRobby Cai
Need power on the sensor for its initialization, otherwise the sensor can not work properly. Signed-off-by: Sheng Nan <b38800@freescale.com> Signed-off-by: Robby Cai <R63905@freescale.com>
2013-03-21ENGR00254931 IPUv3 Fb: Fix display twinkling issue during suspend/resumeWayne Zou
Fix display twinkling issue when video playback on LVDS during suspend/resume. The issue happens when the rootfs application Xfbdev calls fb_set_var() for IPU BG fb to unblank the console, so it wants to reinitialize the IPU BG. However, IPU FG is still being used for video playback.It is reasonable to refuse reprogramme because of the resources confilct. Signed-off-by: Wayne Zou <b36644@freescale.com>
2013-03-15ENGR00254442 Sabre ARD Include WEIM-NOR on imx6_updater_defconfigAlejandro Sierra
Sabre ARD include WEIM-NOR configuration update to enable higher bandwidth on this interface for mfg tool support (imx6_updater_defconfig). Signed-off-by: Alex Sierra <b18039@freescale.com>
2013-03-15ENGR00253355 ARM: imx6q/imx6dl: Set proper PAD value for WEIM NORHuang Shijie
Set proper pad value for WEIM NOR. Without setting these pad value the weim-nor can not work. Signed-off-by: Huang Shijie <b32955@freescale.com>
2013-03-15ENGR00254457 mx6dl: fix mx6dl TO1.1 can't enter 'mem'Robin Gong
The previous patch ENGR00251630 didn't notice mx6q_revision() will return -EINVAL and will match 'mx6q_revision()<IMX_CHIP_REVISION_1_1' ,then mx6dl TO1.1 will also change suspend state to 'standby'. Signed-off-by: Robin Gong <b38343@freescale.com>
2013-03-14ENGR00254267 MX6DL/MX6SL max freq: Fix max cpu freq at 1G on MX6DL ARDRobin Gong
For MX6DL,align max cpufreq judge by SPEED_GRADING fuse bit with MX6DQ. For MX6SL without the fuse bit, we need add condition check, if found arm_max_freq set by default , change to1G. Else decided by 'arm_freq' setting by cmdline. Signed-off-by: Robin Gong <b38343@freescale.com>
2013-03-14ENGR00243315-6 ADV7180:Remove unnecessary header filesLiu Ying
This patch removes unnesessary header files in the driver. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit 871c22325d619ee1c4d2107ab9298e7ef5193c21)
2013-03-14ENGR00243315-5 ADV7180:Power management adjustmentLiu Ying
ADV7180 power down/on can be controlled by a gpio pin or i2c register setting. The PDBP bit in 0x0f register chooses the control source, and the PWRDWN bit in 0x0f register chooses to power down the chip or power on the chip if control source is i2c. This patch removes all gpio pin power down/on code after probe function and uses i2c to do power down/on operation, as some boards may choose to not connect ADV7180 power down pin with AP, however, AP's i2c bus has to be connect with the ADV7180 chip. Moveover, this patch also adds a 400ms sleep after the chip is powered on, which is a workaround for preview scrolling issue(we suspect that the chip needs some time to in a stable status, so that it may sends correct data to AP). Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit fc214fa7a0d6cf12cba45b7e269e983d8281e1ad)
2013-03-14ENGR00243315-4 MXC V4L2 Capture:Improve debug info for s_stdLiu Ying
commit f8e1a3bb62eecf93a31a51c4dbe08a0214fa1d57 introduced an annoying kernel log by changing a pure debug info to error level. This patch reverts that change. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit 289cc885ae097bbf9849cb266679a2969e5c39a9)
2013-03-14ENGR00243315-3 MXC V4L2 Capture:Remove unnecessary mclk settingLiu Ying
commit f8e1a3bb62eecf93a31a51c4dbe08a0214fa1d57 added a hard coding for csi_parma.mclk setting to 27MHz. The comment added by that commit is totally wrong by telling that csi_param.mclk would be a kind of 'pixel clock' set in 'csi_data_dest' register. This patch removes the unnecessary mclk setting for csi_param.mclk variable, since it is only valid for CSI test mode. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit 5fed1e3fde2d63c80f414f204734d35ceecef561)
2013-03-14ENGR00243315-2 IPUv3 CSI:Remove test mode clock settingLiu Ying
This patch removes test mode clock setting in function ipu_csi_init_interface(), since the setting is only necessary for function _ipu_csi_set_test_generator(). This unnecessary setting is added wrongly by commit f8e1a3bb62eecf93a31a51c4dbe08a0214fa1d57. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit 482c30821d0aad0ab500a9d5db95654917986a3c)
2013-03-14ENGR00243315-1 IPUv3 CSI:Correct CCIR code1/2 for PAL and NTSCLiu Ying
We reversed CCIR code1/2 setting before, which may brings captured frame quality issue(jaggy edge can be seen). This patch revert that change. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit abdb4369f6ebcd90656b5fc319ee79eeb3bec7c5)
2013-03-13ENGR00253927 IPU: Fix NULL pointer bug when BG EOF interrupt occur earlyWayne Zou
Fix NULL pointer bug when IPU BG EOF interrupt occur before register irq handler It can be reproduced on MIPI DSI display on i.mx6dl SabreSD board. The sequence is: a) enable display channel b) pan display (fb_set_var()) -> ipu_enable_irq c) ipu_request_irq If an EOF interrupt comes before c and after b, the issue happens. Signed-off-by: Wayne Zou <b36644@freescale.com>
2013-03-13ENGR00253418 IMX6 SabreSD Display: Support LVDS1 and HDMI dual displayWayne Zou
Support LVDS1 and HDMI dual display on SabreSD Rev.C board on i.mx6 By default, LVDS uses LDB_SEP1 mode due to the hardware design. Signed-off-by: Wayne Zou <b36644@freescale.com>
2013-03-12ENGR00253947 EPDC: fix reboot failureRobby Cai
This patch is to 1) add clock enablement before access EPDC registers, otherwise system may hang. And, 2) fix unbalanced disablement for PMIC regulators ------------[ cut here ]------------ WARNING: at drivers/regulator/core.c:1422 _regulator_disable+0xf8/0x12c() unbalanced disables for VCOM Modules linked in: [<80040518>] (unwind_backtrace+0x0/0xf8) from [<800671d8>] (warn_slowpath_common +0x4c/0x64) [<800671d8>] (warn_slowpath_common+0x4c/0x64) from [<80067284>] (warn_slowpath_fmt+0x30/0x40) [<80067284>] (warn_slowpath_fmt+0x30/0x40) from [<8024ef60>] (_regulator_disable+0xf8/0x12c) [<8024ef60>] (_regulator_disable+0xf8/0x12c) from [<8024efc4>] (regulator_disable+0x30/0x70) [<8024efc4>] (regulator_disable+0x30/0x70) from [<80241044>] (mxc_epdc_fb_shutdown+0x18/0x84) [<80241044>] (mxc_epdc_fb_shutdown+0x18/0x84) from [<80277f64>] (platform_drv_shutdown+0x18/0x1c) [<80277f64>] (platform_drv_shutdown+0x18/0x1c) from [<802751d0>] (device_shutdown+0xac/0x124) [<802751d0>] (device_shutdown+0xac/0x124) from [<8007812c>] (kernel_restart_prepare+0x30/0x38) [<8007812c>] (kernel_restart_prepare+0x30/0x38) from [<80078140>] (kernel_restart+0xc/0x48) [<80078140>] (kernel_restart+0xc/0x48) from [<80078290>] (sys_reboot+0x10c/0x1c4) [<80078290>] (sys_reboot+0x10c/0x1c4) from [<8003ad40>] (ret_fast_syscall+0x0/0x30) ---[ end trace e392f5dd2f75e1a5 ]--- ------------[ cut here ]------------ WARNING: at drivers/regulator/core.c:1422 _regulator_disable+0xf8/0x12c() unbalanced disables for DISPLAY Modules linked in: [<80040518>] (unwind_backtrace+0x0/0xf8) from [<800671d8>] (warn_slowpath_common+0x4c/0x64) [<800671d8>] (warn_slowpath_common+0x4c/0x64) from [<80067284>] (warn_slowpath_fmt+0x30/0x40) [<80067284>] (warn_slowpath_fmt+0x30/0x40) from [<8024ef60>] (_regulator_disable+0xf8/0x12c) [<8024ef60>] (_regulator_disable+0xf8/0x12c) from [<8024efc4>] (regulator_disable+0x30/0x70) [<8024efc4>] (regulator_disable+0x30/0x70) from [<8024104c>] (mxc_epdc_fb_shutdown+0x20/0x84) [<8024104c>] (mxc_epdc_fb_shutdown+0x20/0x84) from [<80277f64>] (platform_drv_shutdown+0x18/0x1c) [<80277f64>] (platform_drv_shutdown+0x18/0x1c) from [<802751d0>] (device_shutdown+0xac/0x124) [<802751d0>] (device_shutdown+0xac/0x124) from [<8007812c>] (kernel_restart_prepare+0x30/0x38) [<8007812c>] (kernel_restart_prepare+0x30/0x38) from [<80078140>] (kernel_restart+0xc/0x48) [<80078140>] (kernel_restart+0xc/0x48) from [<80078290>] (sys_reboot+0x10c/0x1c4) [<80078290>] (sys_reboot+0x10c/0x1c4) from [<8003ad40>] (ret_fast_syscall+0x0/0x30) ---[ end trace e392f5dd2f75e1a6 ]--- Signed-off-by: Robby Cai <R63905@freescale.com>
2013-03-12ENGR00253849 EPDC: fix build warnings in epdc fb driverRobby Cai
This patch is to fix the following warnings: drivers/video/mxc/mxc_epdc_fb.c:5062:2: warning: initialization from incompatible pointer type [enabled by default] drivers/video/mxc/mxc_epdc_fb.c:5062:2: warning: (near initialization for 'mxc_epdc_fb_driver.shutdown') [enabled by default] Signed-off-by: Robby Cai <R63905@freescale.com>
2013-03-12ENGR00253835: CAAM: Fix build warnings in caamhash.cTerry Lv
A warning was find in caamhash.c: linux-2.6-imx/drivers/crypto/caam/caamhash.c: In function 'ahash_update_ctx': linux-2.6-imx/drivers/crypto/caam/caamhash.c:850: warning: 'desc' may be used uninitialized in this function This commit is to fix it. Signed-off-by: Terry Lv <r65388@freescale.com>
2013-03-12ENGR00169384 imx6q: uart: config and enble uart5Jianzheng Zhou
Config clock,irq,mux pad,data entry, etc to setup uart5. Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>
2013-03-12ENGR00252782 mxc v4l2 capture:Support csi number attributionLiu Ying
This patch adds device attribution for video device to show csi number to userspace. The pattern is in "ipux_csix" fashion, which tells which ipu and csi is relevant to a specific video device. In this way, userspace may figure out different cameras even if they have the same type, especially, android may use this to know back/front cameras. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2013-03-12ENGR00252559: mxc_v4l2_capture: ov5640: incorrect warning for XGA@15fpsSheng Nan
The following warning information should be displayed only when the format is XGA and frame rate is 30fps: pr_warning("ov5640: actual frame rate of XGA is 22.5fps\n"); Signed-off-by: Sheng Nan <b38800@freescale.com>
2013-03-12ENGR00252411: mxc_v4l2_capture: ov5642/ov5640 cannot both be set as build-in.Sheng Nan
ov5642 and ov5640 are inside choice "prompt "Select Camera/TV Decoder"" It prevents some modules are set as build-in at the same time. All the cameras inside the choice are parallel cameras. There is no need to include all of them inside a choice. Know issues: ADV7180 (out of the choice) and mipi ov camera (inside the choice) can not be both selected for ARM2 board: CSI0_MCLK pad is conflicted between adv7180 and mipi camera ext port. Developers should know this. Signed-off-by: Sheng Nan <b38800@freescale.com>
2013-03-12ENGR00252381: mxc_v4l2_capture: ov5640: incorrect return value of ov5640_probeSheng Nan
ov5640_probe always return -1 when error happens. Actually we should use the correct return value. For example, -ENODEV when no ov5640 is found. Signed-off-by: Sheng Nan <b38800@freescale.com>
2013-03-12ENGR00252071-1: mxc_v4l2_capture: auto detection parallel ov5642 and ov5640Sheng Nan
Both ov5642 and ov5640 need to be supported for parallel port of validation board and no code change is needed when change from one sensor to another. - Add additional common i2c id for ov5640 and ov5642 for auto dectection - Since two sensors will be checked because of auto detection, so use warning instead of error if sensor id don't match. - Add found information to tell user which camera is found. Signed-off-by: Sheng Nan <b38800@freescale.com>
2013-03-12ENGR00252071-2: mxc_v4l2_capture: ov5640_mipi: update probe print informationSheng Nan
Because ov5642 and ov5640 changes the probe information due to auto detect, ov5640_mipi should keep the same. - Add found information to tell user ov5640_mipi is found. - Use the same "not found" information as ov5642/ov5640. Signed-off-by: Sheng Nan <b38800@freescale.com>
2013-03-12ENGR00252071-3: mxc_v4l2_capture: enable auto detect of ov5642/5640 in sabresdSheng Nan
- enable the auto detect for parallel ov5642 and ov5640 in sabresd board. Signed-off-by: Sheng Nan <b38800@freescale.com>
2013-03-12ENGR00252071-4: mxc_v4l2_capture: enable auto detect of ov5642/5640 in sabreliteSheng Nan
- enable the auto detect for parallel ov5642 and ov5640 in sabrelite board. Signed-off-by: Sheng Nan <b38800@freescale.com>
2013-03-12ENGR00252162: mxc_v4l2_capture: ov5640: some formats have quality issueSheng Nan
The following formats have quality issue: - 30fps: 720p - 15 fps: 1080p,qsxga Quality issue happens on high resolutions. So, increase the drive capability of ov5640 can fix this problem. Signed-off-by: Sheng Nan <b38800@freescale.com>
2013-03-12ENGR00234501 ASoC: spdif: fix Ubuntu reboot hang issueNicolin Chen
spdif driver registered kcontrol for ALSA subsystem controlling, while some of those kcontrol functions lack of clk_enable() before register-accessing. So system would definitely hang when those functions're called, which did happen during reboot test on Ubuntu due to its pulse-audio. This patch added paired clk_en/disable() to those functions so as to pevent system hang issue. Acked-by: Wang Shengjiu <b02247@freescale.com> Tested-by: Anson Huang <b20788@freescale.com> Signed-off-by: Nicolin Chen <b42378@freescale.com>
2013-03-12ENGR00253290-2 ASoC: imx-wm8962: fix continuous playback distortion issueNicolin Chen
If DAC volume's set to a value that's lower than 0xd8, contineously FLL setting of wm8962 in machine driver would cause playback distortion issue, which happens to ENGR219882. so we have to put some another code in machine driver to prevent distortion issue. Acked-by: Wang Shengjiu <b02247@freescale.com> Signed-off-by: Nicolin Chen <b42378@freescale.com>
2013-03-12ENGR00253290-1 ASoC: wm8962: fix over-gained audio playback issueNicolin Chen
We put some code to set default volumes in codec driver, but later we found that one of volume was higher than 0db, which would cause over-gained volume. So this patch removed DAC default volume setting, and reverted the volume interface of it to let user control the register from user space. Acked-by: Wang Shengjiu <b02247@freescale.com> Signed-off-by: Nicolin Chen <b42378@freescale.com>
2013-03-06ARM: 7417/1: vfp: ensure preemption is disabled when enabling VFP accessWill Deacon
The vfp_enable function enables access to the VFP co-processor register space (cp10 and cp11) on the current CPU and must be called with preemption disabled. Unfortunately, the vfp_init late initcall does not disable preemption and can lead to an oops during boot if thread migration occurs at the wrong time and we end up attempting to access the FPSID on a CPU with VFP access disabled. This patch fixes the initcall to call vfp_enable from a non-preemptible context on each CPU and adds a BUG_ON(preemptible) to ensure that any similar problems are easily spotted in the future. Cc: stable@vger.kernel.org Reported-by: Hyungwoo Yang <hwoo.yang@gmail.com> Signed-off-by: Hyungwoo Yang <hyungwooy@nvidia.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> [Fix merge conflict] Signed-off-by: Jason Liu <r64343@freescale.com>
2013-03-06ENGR00251209-9 msl: usb: make global variable as drvdataPeter Chen
There is a bug when we try to remove wakeup module twice as g_ctrl is a globle variable, in fact, it is per controller wakeup driver, so the private data should be per device. Signed-off-by: Peter Chen <peter.chen@freescale.com>
2013-03-06ENGR00251209-8 usb: fix the build error when building usb as loadable modulePeter Chen
export usb_suspend, usb_resume, and pm_mutex Signed-off-by: Peter Chen <peter.chen@freescale.com>
2013-03-06ENGR00251209-7 usb: mark phy's low power flag as false at probePeter Chen
PHY's low power flag was false at former logic, so this change should not affect functions. Signed-off-by: Peter Chen <peter.chen@freescale.com>
2013-03-06ENGR00251209-6 msl-mx6: usb: keep the phy lower flag as true defaultlyPeter Chen
Keep the phy lower flag as true defaultly, the driver should mark it as false when the driver begins to use PHY. This fixes one bug that when build both host and gadget as loadable modules, the phy lower flag is false if the related module is not loaded, then, the wakeup interrupt will not be treated as happened if host module is loaded, but gadget is not loaded, or vice verse. Signed-off-by: Peter Chen <peter.chen@freescale.com>