linux-stable/drivers
Frodo Lai dde8765be8 Input: pixcir_i2c_ts - fix receive error
commit 469d7d22ce upstream.

The i2c_master_recv() uses readsize to receive data from i2c but compares
to size of rdbuf which is always 27. This would cause problem when the
max_fingers is not 5. Change the comparison value to readsize instead.

Fixes: 36874c7e21 ("Input: pixcir_i2c_ts - support up to 5 fingers and
hardware tracking IDs:)

Signed-off-by: Frodo Lai <frodo_lai@bcmcom.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-07-21 10:10:15 -07:00
..
accessibility
acpi ACPI / PM: Add missing pm_generic_complete() invocation 2015-07-21 10:10:12 -07:00
amba ARM: 8256/1: driver coamba: add device binding path 'driver_override' 2015-02-10 10:23:15 +00:00
android android: binder: fix binder mmap failures 2015-03-01 18:43:51 -08:00
ata ata: ahci_mvebu: Fix wrongly set base address for the MBus window setting 2015-06-22 17:03:34 -07:00
atm
auxdisplay
base regmap: Fix possible shift overflow in regmap_field_init() 2015-07-21 10:10:13 -07:00
bcma bcma: implement host code support for PCIe Gen 2 devices 2015-01-29 10:54:43 +02:00
block block: destroy bdi before blockdev is unregistered. 2015-05-17 09:55:07 -07:00
bluetooth ath3k: add support of 13d3:3474 AR3012 device 2015-06-29 12:29:08 -07:00
bus Revert "bus: mvebu-mbus: make sure SDRAM CS for DMA don't overlap the MBus bridge window" 2015-06-22 17:03:34 -07:00
cdrom
char tpm: fix: sanitized code paths in tpm_chip_register() 2015-05-06 22:03:51 +02:00
clk clk: at91: fix h32mx prototype inclusion in pmc header 2015-06-29 12:29:07 -07:00
clocksource clocksource/drivers/sun5i: Fix cpufreq interaction with sched_clock() 2015-03-26 10:59:40 +01:00
connector
coresight coresight: fix function etm_writel_cp14() parameter order 2015-02-04 10:42:55 -08:00
cpufreq intel_pstate: set BYT MSR with wrmsrl_on_cpu() 2015-07-10 09:45:40 -07:00
cpuidle tick/idle/powerpc: Do not register idle states with CPUIDLE_FLAG_TIMER_STOP set in periodic mode 2015-07-10 09:45:41 -07:00
crypto Revert "crypto: talitos - convert to use be16_add_cpu()" 2015-07-10 09:45:39 -07:00
dca
devfreq Merge branches 'pm-cpufreq', 'pm-cpuidle', 'pm-devfreq', 'pm-opp' and 'pm-tools' 2015-02-13 21:39:06 +01:00
dio
dma dmaengine: at_xdmac: lock fixes 2015-06-22 17:03:27 -07:00
dma-buf
edac * A fix to sb_edac for proper detection on SNB machines 2015-02-19 11:18:14 -08:00
eisa
extcon extcon: max77693: Constify struct regmap_config 2015-01-26 13:47:55 +09:00
firewire firewire: core: use correct vendor/model IDs 2015-02-02 21:56:03 +01:00
firmware sysfs: Create mountpoints with sysfs_create_mount_point 2015-07-21 10:10:11 -07:00
fmc
gpio gpio: crystalcove: set IRQCHIP_SKIP_SET_WAKE for the irqchip 2015-07-21 10:10:11 -07:00
gpu drm/i915: Avoid GPU hang when coming out of s3 or s4 2015-06-29 12:29:08 -07:00
hid Revert "HID: logitech-hidpp: support combo keyboard touchpad TK820" 2015-06-06 08:21:06 -07:00
hsi
hv Drivers: hv: vmbus: Don't wait after requesting offers 2015-05-13 05:14:31 -07:00
hwmon hwmon: (nct6683) Add missing sysfs attribute initialization 2015-06-06 08:20:55 -07:00
hwspinlock
i2c i2c: s3c2410: fix oops in suspend callback for non-dt platforms 2015-06-22 17:03:27 -07:00
ide ide_tape: convert jiffies with jiffies_to_msecs 2015-03-18 23:25:57 -04:00
idle intel_idle: Update support for Silvermont Core in Baytrail SOC 2015-05-06 22:03:50 +02:00
iio iio: accel: kxcjk-1013: add the "KXCJ9000" ACPI id 2015-07-21 10:10:12 -07:00
infiniband IB/srp: Fix reconnection failure handling 2015-07-21 10:10:14 -07:00
input Input: pixcir_i2c_ts - fix receive error 2015-07-21 10:10:15 -07:00
iommu iommu/amd: Handle large pages correctly in free_pagetable 2015-07-10 09:45:39 -07:00
ipack
irqchip irqchip: sunxi-nmi: Fix off-by-one error in irq iterator 2015-06-22 17:03:36 -07:00
isdn isdn: icn: use strlcpy() when parsing setup options 2015-03-15 22:24:37 -04:00
leds leds / PM: fix hibernation on arm when gpio-led used with CPU led trigger 2015-07-21 10:10:14 -07:00
lguest lguest: fix out-by-one error in address checking. 2015-06-06 08:20:50 -07:00
macintosh
mailbox Merge branch 'mailbox-devel' of git://git.linaro.org/landing-teams/working/fujitsu/integration 2015-02-11 12:56:40 -08:00
mcb mcb: Fix error path of mcb_pci_probe 2015-02-03 15:48:51 -08:00
md dm: fix NULL pointer when clone_and_map_rq returns !DM_MAPIO_REMAPPED 2015-06-29 12:29:08 -07:00
media marvell-ccic: fix Y'CbCr ordering 2015-05-17 09:55:07 -07:00
memory memory/fsl-corenet-cf: Add t1040 support 2015-01-29 22:57:43 -06:00
memstick memstick: mspro_block: add missing curly braces 2015-05-06 22:04:08 +02:00
message i2o: move to staging 2015-02-03 15:58:39 -08:00
mfd mfd: da9052: Fix broken regulator probe 2015-06-06 08:20:51 -07:00
misc mei: txe: reduce suspend/resume time 2015-07-21 10:10:12 -07:00
mmc mmc: sdhci: fix low memory corruption 2015-07-10 09:45:39 -07:00
mtd mtd: dc21285: use raw spinlock functions for nw_gpio_lock 2015-07-21 10:10:14 -07:00
net net: mvneta: disable IP checksum with jumbo frames for Armada 370 2015-07-10 09:45:38 -07:00
nfc NFC: st21nfcb: Retry i2c_master_send if it returns a negative value 2015-05-06 22:03:50 +02:00
ntb
nubus
of of/pci: Fix pci_address_to_pio() conversion of CPU address to I/O port 2015-07-21 10:10:15 -07:00
oprofile
parisc
parport
pci PCI: pciehp: Wait for hotplug command completion where necessary 2015-07-21 10:10:15 -07:00
pcmcia Disable write buffering on Toshiba ToPIC95 2015-07-21 10:10:11 -07:00
phy phy: omap-usb2: Fix missing clk_prepare call when using old dt name 2015-03-13 17:14:39 +05:30
pinctrl pinctrl: Don't just pretend to protect pinctrl_maps, do it for real 2015-05-17 09:55:09 -07:00
platform compal-laptop: Check return value of power_supply_register 2015-05-06 22:03:44 +02:00
pnp Merge branches 'pnp', 'pm-cpuidle' and 'pm-cpufreq' 2015-02-21 04:29:16 +01:00
power power/reset: at91: fix return value check in at91_reset_platform_probe() 2015-06-06 08:21:09 -07:00
powercap powercap / RAPL: handle domains with different energy units 2015-03-13 23:18:44 +01:00
pps
ps3
ptp
pwm pwm: img: Impose upper and lower timebase steps value 2015-06-06 08:21:09 -07:00
rapidio Merge branch 'for-linus' of git://git.infradead.org/users/vkoul/slave-dma 2015-02-18 08:49:20 -08:00
ras
regulator regulator: core: fix constraints output buffer 2015-07-21 10:10:13 -07:00
remoteproc
reset
rpmsg virtio_rpmsg: set DRIVER_OK before using device 2015-03-13 15:55:42 +10:30
rtc rtc: armada38x: fix concurrency access in armada38x_rtc_set_time 2015-05-17 09:55:06 -07:00
s390 KVM: s390: virtio-ccw: don't overwrite config space values 2015-07-10 09:45:42 -07:00
sbus
scsi scsi_transport_srp: Fix a race condition 2015-07-21 10:10:14 -07:00
sfi
sh drivers: sh: Disable PM runtime for multi-platform r8a7740 with genpd 2015-02-24 07:26:12 +09:00
sn
soc ARM: SoC driver updates 2015-02-17 09:38:59 -08:00
spi spi: orion: Fix maximum baud rates for Armada 370/XP 2015-07-21 10:10:13 -07:00
spmi
ssb SSB: fix Kconfig dependencies 2015-05-13 05:14:22 -07:00
staging ozwpan: unchecked signed subtraction leads to DoS 2015-06-22 17:03:31 -07:00
target target/pscsi: Don't leak scsi_host if hba is VIRTUAL_HOST 2015-06-06 08:20:59 -07:00
tc
thermal thermal: armada: Update Armada 380 thermal sensor coefficients 2015-06-06 08:21:06 -07:00
thunderbolt
tty serial: imx: Fix DMA handling for IDLE condition aborts 2015-06-22 17:03:33 -07:00
uio
usb usb: gadget: f_fs: add extra check before unregister_gadget_item 2015-07-10 09:45:39 -07:00
uwb USB patches for 3.20-rc1 2015-02-15 10:24:55 -08:00
vfio vfio: Fix runaway interruptible timeout 2015-05-17 09:55:07 -07:00
vhost Merge git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending 2015-03-21 11:24:38 -07:00
video video: mxsfb: Make sure axi clock is enabled when accessing registers 2015-07-21 10:10:14 -07:00
virt
virtio virtio_pci: Clear stale cpumask when setting irq affinity 2015-06-22 17:03:34 -07:00
vlynq
vme
w1
watchdog watchdog: imgpdc: Fix default heartbeat 2015-03-27 08:47:50 +01:00
xen xen/events: don't bind non-percpu VIRQs with percpu chip 2015-06-06 08:20:52 -07:00
zorro
Kconfig i2o: move to staging 2015-02-03 15:58:39 -08:00
Makefile