commit | 32304d753304b1aaf79eb4957d1d1375ddc92c14 | [log] [tgz] |
---|---|---|
author | Gregory Hermant <gregory.hermant@calao-systems.com> | Tue Sep 30 08:59:17 2014 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Nov 05 19:24:07 2014 -0800 |
tree | 23b094b04bf4b2d72e408f92154e8430c55bead2 | |
parent | 510d483285432e45c453722f7ff7a9cf63e95bc4 [diff] |
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 <gregory.hermant@calao-systems.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>