u-boot-brain/drivers
Alan Ott cab8a27d80 i2c: at91_i2c: remove the .probe_chip function
The .probe_chip function is supposed to probe an i2c device on the bus to
determine whether a device is answering to a particular address.
at91_i2c_probe_chip() did not do anything resembling this and always
returned 0.

It looks as though at91_i2c_probe_chip() was intended to be a .probe
function for the controller, as it was copied-and-pasted to become
at91_i2c_probe() in 0bc8f640a4.

Removing the at91_i2c_probe_chip() function makes the higher layer
(i2c_probe_chip()) try a zero-length read transfer to test for the
presence of a device instead, which does work.

Signed-off-by: Alan Ott <alan@softiron.com>
Acked-by: Wenyou Yang <wenyou.yang@microchip.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
2017-12-07 09:29:19 +01:00
..
adc treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
ata ata: Fix ahci wording 2017-11-28 16:08:52 +01:00
bios_emulator printk: collect printk stuff into <linux/printk.h> with loglevel support 2017-10-04 10:31:17 -04:00
block blk: Remove various places that do flush cache after read 2017-09-15 08:05:10 -04:00
bootcount bootcount: add support for bootcounter on EXT filesystem 2017-11-20 09:58:31 +01:00
clk rockchip: rk3128: add clock driver 2017-11-30 22:55:26 +01:00
core dm: core: Correct address cast in dev_read_addr_ptr() 2017-11-16 18:45:05 -07:00
cpu dm: core: Update device_bind_driver_to_node() to use ofnode 2017-06-01 07:03:08 -06:00
crypto crypto/fsl: fix obj-yy in Makefile 2017-09-04 09:02:07 -04:00
ddr armv8: ls1088a: Add NXP LS1088A SoC support 2017-09-11 08:00:13 -07:00
demo dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
dfu treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
dma treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
firmware drivers: firmware: psci: use pr_* log functions instead of printf() 2017-12-04 10:23:53 -05:00
fpga arm: socfpga: Enhance FPGA program write rbf data with size >= 4 bytes 2017-11-26 02:34:10 +01:00
gpio gpio: rmobile: Set GPIO mode in GPSR when requested 2017-11-30 02:34:21 +01:00
i2c i2c: at91_i2c: remove the .probe_chip function 2017-12-07 09:29:19 +01:00
input env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
led dm: core: Update device_bind_driver_to_node() to use ofnode 2017-06-01 07:03:08 -06:00
mailbox dm: mailbox: Update uclass to support livetree 2017-06-01 07:03:15 -06:00
memory memory: Move TI_AEMIF config to KCONFIG 2016-04-18 17:11:43 -04:00
misc dm: misc: bind STM32F4/F7 clock from rcc MFD driver 2017-11-29 22:30:50 -05:00
mmc mmc: atmel_sdhci: not on capabilities to set gck rate 2017-11-29 22:30:50 -05:00
mtd Merge git://git.denx.de/u-boot-uniphier 2017-12-04 10:24:35 -05:00
net net: ravb: Fix reset GPIO handling 2017-11-30 02:32:34 +01:00
nvme nvme: Remove dead codes in nvme_setup_io_queues() 2017-09-03 15:30:34 -04:00
pch dm: Use dm_scan_fdt_dev() directly where possible 2016-07-27 14:15:54 -06:00
pci Update Paul Burton's email address 2017-11-28 21:59:30 +01:00
pcmcia Kconfig; Drop CONFIG_IDE_TI_CARDBUS and associated driver 2017-08-11 15:41:51 -04:00
phy sti: fix STMicroelectronics copyright 2017-11-06 09:51:01 -05:00
pinctrl rockchip: rk3128: add pinctrl driver 2017-11-30 22:55:26 +01:00
power treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
pwm pwm: imx: Enable PWM support on i.MX53 2017-11-20 09:58:31 +01:00
qe blk: Remove various places that do flush cache after read 2017-09-15 08:05:10 -04:00
ram rockchip: rk3128: add sdram driver 2017-11-30 22:55:27 +01:00
remoteproc dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
reset stm32: fix STMicroelectronics copyright 2017-11-06 09:51:01 -05:00
rtc rtc: add support for s35392a 2017-11-20 09:58:31 +01:00
scsi blk: dm: make blk_create_device() take a number of block instead of a size 2017-09-11 21:43:58 -06:00
serial serial: sh: Unify R8A7795 and R8A7796 as Gen3 2017-11-30 02:32:34 +01:00
soc Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
sound dm: gpio: Add live tree support 2017-06-01 07:03:10 -06:00
spi cosmetic: atcspi200: Rename function name as atcspi200 2017-11-30 09:45:21 +08:00
spmi dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
sysreset rockchip: sysreset: update Makefile to work with merged sysreset driver 2017-11-21 23:57:23 +01:00
thermal thermal: ti-bandgap: Add support for temperature sensor 2017-11-21 08:03:38 -05:00
timer atcpit100: timer: Remove arch dependency. 2017-11-30 09:39:31 +08:00
tpm tpm: st33zp24: fix STMicroelectronics copyright 2017-11-06 09:51:01 -05:00
usb usb: r8a66597: Add support for RZ/A series 2017-11-28 04:06:40 +01:00
video video: sunxi: de2: fix SimpleFB node creation when HDMI not initialized 2017-11-06 13:43:28 +05:30
watchdog wdt: Update uclass to make clear that the timeout is in ms 2017-08-13 15:17:34 -04:00
Kconfig bootcount: add support for bootcounter on EXT filesystem 2017-11-20 09:58:31 +01:00
Makefile thermal: ti-bandgap: Add support for temperature sensor 2017-11-21 08:03:38 -05:00