max310x: max3109_detect should use indirect addressing in SPI mode for REVID register
authorGregory Hermant <gregory.hermant@calao-systems.com>
Tue, 30 Sep 2014 06:59:17 +0000 (08:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Nov 2014 03:24:07 +0000 (19:24 -0800)
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>

No differences found