From: Gregory Hermant Date: Tue, 30 Sep 2014 06:59:17 +0000 (+0200) Subject: max310x: max3109_detect should use indirect addressing in SPI mode for REVID register X-Git-Tag: omap-for-v3.20/drop-legacy-3517~83^2~131 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32304d753304b1aaf79eb4957d1d1375ddc92c14;p=pandora-kernel.git max310x: max3109_detect should use indirect addressing in SPI mode for REVID register This patch allows to read the REV_ID register in SPI mode and consequently to properly detect the max3109. Indeed in SPI mode, this register is only accessible by using indirect addressing. Signed-off-by: Gregory Hermant Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed