Skip to content
Commit 32304d75 authored by Gregory Hermant's avatar Gregory Hermant Committed by Greg Kroah-Hartman
Browse files

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: default avatarGregory Hermant <gregory.hermant@calao-systems.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 510d4832
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment