Revision 96cba9b00e297303774bec59e192064d20adeb3d authored by Dmitry Torokhov on 14 April 2015, 20:50:09 UTC, committed by Olof Johansson on 25 April 2015, 05:07:14 UTC
The new Atmel MXT driver expects i2c client's address contain the
primary (main address) of the chip, and calculates the expected
bootloader address form the primary address. Unfortunately chrome_laptop
does probe the devices and if touchpad (or touchscreen, or both) comes
up in bootloader mode the i2c device gets instantiated with the
bootloader address which confuses the driver.

To work around this issue let's probe the primary address first. If the
device is not detected at the primary address we'll probe alternative
addresses as "dummy" devices. If any of them are found, destroy the
dummy client and instantiate client with proper name at primary address
still.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
1 parent 8ce5809
History
File Mode Size
blocklayout
filelayout
flexfilelayout
objlayout
Kconfig -rw-r--r-- 5.9 KB
Makefile -rw-r--r-- 1.3 KB
cache_lib.c -rw-r--r-- 3.8 KB
cache_lib.h -rw-r--r-- 1016 bytes
callback.c -rw-r--r-- 12.0 KB
callback.h -rw-r--r-- 5.3 KB
callback_proc.c -rw-r--r-- 14.5 KB
callback_xdr.c -rw-r--r-- 25.8 KB
client.c -rw-r--r-- 37.6 KB
delegation.c -rw-r--r-- 22.9 KB
delegation.h -rw-r--r-- 2.5 KB
dir.c -rw-r--r-- 62.7 KB
direct.c -rw-r--r-- 29.0 KB
dns_resolve.c -rw-r--r-- 10.0 KB
dns_resolve.h -rw-r--r-- 812 bytes
file.c -rw-r--r-- 24.2 KB
fscache-index.c -rw-r--r-- 9.3 KB
fscache.c -rw-r--r-- 11.9 KB
fscache.h -rw-r--r-- 6.5 KB
getroot.c -rw-r--r-- 3.5 KB
idmap.c -rw-r--r-- 19.4 KB
inode.c -rw-r--r-- 53.7 KB
internal.h -rw-r--r-- 21.8 KB
iostat.h -rw-r--r-- 1.8 KB
mount_clnt.c -rw-r--r-- 12.2 KB
namespace.c -rw-r--r-- 7.3 KB
netns.h -rw-r--r-- 902 bytes
nfs.h -rw-r--r-- 993 bytes
nfs2super.c -rw-r--r-- 569 bytes
nfs2xdr.c -rw-r--r-- 25.9 KB
nfs3_fs.h -rw-r--r-- 1.1 KB
nfs3acl.c -rw-r--r-- 6.8 KB
nfs3client.c -rw-r--r-- 2.9 KB
nfs3proc.c -rw-r--r-- 24.0 KB
nfs3super.c -rw-r--r-- 649 bytes
nfs3xdr.c -rw-r--r-- 54.7 KB
nfs42.h -rw-r--r-- 430 bytes
nfs42proc.c -rw-r--r-- 3.5 KB
nfs42xdr.c -rw-r--r-- 5.7 KB
nfs4_fs.h -rw-r--r-- 17.9 KB
nfs4client.c -rw-r--r-- 31.2 KB
nfs4file.c -rw-r--r-- 4.2 KB
nfs4getroot.c -rw-r--r-- 1.2 KB
nfs4namespace.c -rw-r--r-- 12.8 KB
nfs4proc.c -rw-r--r-- 233.1 KB
nfs4renewd.c -rw-r--r-- 4.2 KB
nfs4session.c -rw-r--r-- 14.5 KB
nfs4session.h -rw-r--r-- 4.4 KB
nfs4state.c -rw-r--r-- 63.0 KB
nfs4super.c -rw-r--r-- 8.6 KB
nfs4sysctl.c -rw-r--r-- 1.4 KB
nfs4trace.c -rw-r--r-- 417 bytes
nfs4trace.h -rw-r--r-- 30.4 KB
nfs4xdr.c -rw-r--r-- 193.5 KB
nfsroot.c -rw-r--r-- 9.5 KB
nfstrace.c -rw-r--r-- 198 bytes
nfstrace.h -rw-r--r-- 18.1 KB
pagelist.c -rw-r--r-- 33.5 KB
pnfs.c -rw-r--r-- 60.0 KB
pnfs.h -rw-r--r-- 20.4 KB
pnfs_dev.c -rw-r--r-- 9.4 KB
pnfs_nfs.c -rw-r--r-- 20.9 KB
proc.c -rw-r--r-- 18.8 KB
read.c -rw-r--r-- 11.2 KB
super.c -rw-r--r-- 73.8 KB
symlink.c -rw-r--r-- 1.6 KB
sysctl.c -rw-r--r-- 1.3 KB
unlink.c -rw-r--r-- 15.5 KB
write.c -rw-r--r-- 52.1 KB

back to top