https://github.com/torvalds/linux
Revision 0e1929dedea36781e25902118c93edd8d8f09af1 authored by Mike Looijmans on 16 January 2017, 14:49:38 UTC, committed by Wolfram Sang on 25 January 2017, 21:07:40 UTC
The cadence I2C driver calls cdns_i2c_writereg(..) to setup a workaround
in the controller, but did so after calling i2c_add_adapter() which starts
probing devices on the bus. Change the order so that the configuration is
completely finished before using the adapter.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
1 parent 7a308bb
History
Tip revision: 0e1929dedea36781e25902118c93edd8d8f09af1 authored by Mike Looijmans on 16 January 2017, 14:49:38 UTC
i2c: i2c-cadence: Initialize configuration before probing devices
Tip revision: 0e1929d
File Mode Size
Documentation
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitattributes -rw-r--r-- 30 bytes
.gitignore -rw-r--r-- 1.3 KB
.mailmap -rw-r--r-- 7.7 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 96.0 KB
Kbuild -rw-r--r-- 2.8 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 382.5 KB
Makefile -rw-r--r-- 57.6 KB
README -rw-r--r-- 722 bytes

README

back to top