Age | Commit message (Collapse) | Author |
|
The capacitive buttons on iMX53 SMD sometimes misses
the touch events. Improve the sentivity by reducing
touch threshold and enabling baseline tracking in ECR.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
fix gingerbread camera cts fail.
Signed-off-by: Richard Liu <r66033@freescale.com>
|
|
In resolving this issue, the new logic to setup capture for 5M
snapshot was corrupting the picture. Reverted to original logic.
Signed-off-by: Jeff Kudrick <jeff.kudrick@freescale.com>
|
|
Alignment to latest changes in Linux 3.0 kernel to Linux 2.6.38
support for iMX53 ICS.
Signed-off-by: Jeff Kudrick <jeff.kudrick@freescale.com>
|
|
Optimize the sensor drivers - gsensor, accelerometer and
light sensor for mx53 smd. Improve the polling times to
reduce overhead (in compliance to Android 4.0 CDD).
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
Workaround for some WIFI card not stable at 50MHz,
downgrade this clock to 49.9Mhz. Due to this sometimes the Wifi
driver fails to load on first attempt.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
The chip document says the counter counts up to period_cycles + 1
and then is reset to 0, so the actual period of the PWM wave is
period_cycles + 2
Signed-off-by: Yuxi Sun <b36102@freescale.com>
|
|
Alarm cannot wakeup the system from suspend mode due to missing da9053
PMIC fixups.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
Alarm cannot wakeup the system from suspend mode due to missing da9053
PMIC fixups.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
The dvfs_core stop is not clearing the cpufreq_trig_needed flag due
to which during resuming the system, dvfs_core_handler is calling
dvfs_cpu_jiffies with current cpu rate as 0 when FSVAI_FREQ_NOCHANGE
condition occurs.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
PLL1 fails to relock since the pll lock check was wrong. Due to missing
spinlock, a context switch could happen and we may fail the check
right away between the getnstimeofday's.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
Allow UART to be a source from wakeup from low power mode.
Tested on a mx6sabrelite (where ttymxc1 is the console) by doing:
echo enabled > /sys/devices/platform/imx-uart.1/tty/ttymxc1/power/wakeup
echo mem > /sys/power/state
and then pressing a key in the console will wakeup the system.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
|
|
This reverts commit 6565023ad182d3347972aad3f1a13ba57266e81a.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
Allow UART to be a source for wakeup from low power mode.
Tested on a mx6sabrelite (where ttymxc1 is the console) by doing:
echo enabled > /sys/devices/platform/imx-uart.1/tty/ttymxc1/power/wakeup
echo mem > /sys/power/state
and then pressing a key in the console will wakeup the sytem.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
|
|
Magnetometer direction is off by 90 degrees due to wrong
sensor position as per board layout.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
we have already reserved the 8M dummy buffers on v4l2 capture driver probe.
So should not free it when csi encode disable task
Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
|
|
1) CSI module should be disabled first for CSI_MEM channel,
otherwise, the capture channels will hang after restarting
for several times.
2) Disable CSI module correctly for overlay. Move stopping
preview channel operation out of de-select interface.
3) Check cam->overlay_on is true in close function before
stopping preview.
4) Check cam->vf_start_sdc function before calling it.
5) Updated copyright year to pass commit hooks
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
|
|
This patch changes PWM frequency from 20KHz to 22KHz to workaround
unstable backlight issue when brightness is set to 253.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
SGTL5000_VAG_POWERUP used by record and playback.
when playback and record are opened, close one of them will cause
the other mute
Signed-off-by: b02247 <b02247@freescale.com>
|
|
Add Hardware Composer to ICS for iMX53.
Signed-off-by: Oliver Brown <oliver.brown@freescale.com>
|
|
Root cause is:
Ipu driver use msleep to wait for smfc idle, msleep isn't a
Accurate timer, but CSI SMFC is a real-time channel, so use
Interrupt handler to replace msleep.
Signed-off-by: Even Xu <b21019@freescale.com>
|
|
Intergrate the mag3110 and mxc_mma8451 drivers
released by sensor team.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
Intergrate the mag3110 and mxc_mma8451 drivers
released by sensor team.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
Intergrate the mag3110 and mxc_mma8451 drivers
released by sensor team.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
Intergrate the mag3110 and mxc_mma8451 drivers
released by sensor team.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
This commit fixes the DVFS, suspend/resume, fuse check, clocks,
cpufreq for mx53 SMD.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
This commit fixes the max17085 3-cell battery sensor and
some code cleanup in SDHC, AMD-GPU, Regulators, RTC.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
Add suspend/resume, battery, accelerometer support
and fix some compilation warnings.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
Added support for battery, shutdown and suspend/resume
for mx53 smd.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
Added an "Ext Spk" (speaker) jack to the hs_jack_pins structure to
disable/enable the speaker when the jack is inserted/removed.
Signed-off-by: Oliver Brown <oliver.brown@freescale.com>
|
|
Add AMP control to sgtl5000 to support speaker output.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
Corrected the names for the USB wake device.
Signed-off-by: Oliver Brown <oliver.brown@freescale.com>
|
|
Adding legacy psudoterminal support.
Fixing UART2 IO Mux setting.
Signed-off-by: Oliver Brown <oliver.brown@freescale.com>
|
|
Fix the build error "mismatch sections" in AMD GPU
platform driver.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
With this port USB, Ethernet, UART, I2C, Audio, Graphics,
GPIO, keyboard, Wifi works on mx53 SMD.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
With this port USB, Ethernet, UART, I2C, Audio, Graphics,
GPIO, keyboard, Wifi works on mx53 SMD.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
AXI BUS ERROR may occur in very low possibility,
this debug message exist before 4.4.2, but removed in 4.6.x,
need add it back to trace critical gpu issue
Signed-off-by: Li Xianzhong <b07117@freescale.com>
|
|
add thermal driver support for android on mx6q boards;
enable fake power key for some boards
Signed-off-by: Lin Fuzhen <fuzhen.lin@freescale.com>
|
|
On GB with 512MB DDR size, when we taking 5M pixel picture,
the v4l2 capture will first allocate a 8M continuous memory for
first frame, which may cause allocation failed.
Reserve this buffer on probe when safe.
Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
|
|
The composite driver no longer sends setup requests to functions if the
destination is USB_RECIP_DEVICE, so we need to handle the requests
here instead of the function's setup callback.
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|
MTP_SEND_FILE_WITH_HEADER ioctl allows sending a file with the 12 byte header
prepended at the beginning.
This is to allow MTP to use a single packet for the data phase instead of two.
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|
Fixes problem sending "store added" events when there are multiple stores
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|
Some UDC drivers fails to queue a request if req->buf == NULL even for
ZLP requests. This patch adds a poisoned pointer instead of NULL to
make the code compliant with the gadget specification and catches
possible bug in the UDC driver if it tries to dereference buffer pointer
on ZLP request.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
|
During processing of bunch of eem frames if "echo" command is found
skb is cloned and the cloned version should be used to send reply.
Unfortunately, the data of the original skb were actually used and
the cloned skb is never freed.
Using the cloned skb and freeing the skb in the completion callback
for usb request.
Signed-off-by: Yauheni Kaliuta <yauheni.kaliuta@nokia.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
|
as_out_ep_desc contines to be used during gadget enumeration and thus
should not be marked as __initdata
Signed-off-by: Martin Jackson <mjackson220.list@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
|
We should free both descriptors.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
|
Change-Id: Idfde1aee6cfd7c648d4100060e111798c405e32c
Signed-off-by: Benoit Goby <benoit@android.com>
|
|
composite.c always sets req->length to zero
and expects function driver's setup handlers
to return the amount of bytes to be used
on req->length. If we test against req->length
w_length will always be greater than req->length
thus making us always stall that particular
SEND_ENCAPSULATED_COMMAND request.
Tested against a Windows XP SP3.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
|
In mtp_read(), if wait_event_interruptible() returns an error, we need to
remove the request from the EP queue. Else, on the next call to mtp_read(), we
will attempt to enqueue the request again, potentially corrupting the
queue. This is what happens with musb_gadget_queue(), which does not check for
duplicate requests.
Based on a similar change to f_adb.c
Signed-off-by: Mike Lockwood <lockwood@android.com>
|