diff options
author | Tony Lindgren <tony@atomide.com> | 2019-05-01 14:24:57 -0700 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2019-05-02 06:29:46 -0700 |
commit | e4f50c8d1047e2c3b6fcf9edc22a26469f72eeb7 (patch) | |
tree | ce9f0df10bfc2a9ac96bdf78b5741c825e3a205b /drivers/pcmcia | |
parent | 516f1117d0fb375830dea715a3f890a76ff1ffef (diff) | |
download | linux-e4f50c8d1047e2c3b6fcf9edc22a26469f72eeb7.tar.gz linux-e4f50c8d1047e2c3b6fcf9edc22a26469f72eeb7.tar.bz2 linux-e4f50c8d1047e2c3b6fcf9edc22a26469f72eeb7.zip |
bus: ti-sysc: Handle devices with no control registers
Some interconnect target modules have no module control registers at
all, such as d_can on am335x and am437x.
The d_can register offset at 0 is CTL register with 0x401 as the default
value. I guess I mistook the 0x401 value for a revision register as the
value happens to look similar to what the revision registers typically
have for other modules.
To handle modules with no control registers, we need to improve the
ti-sysc driver a bit to bail out with errors on no control registers,
and then we can remove the bogus revision registers for d_can.
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Tested-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers/pcmcia')
0 files changed, 0 insertions, 0 deletions