aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorDarren Hart <[email protected]>2013-02-08 15:20:36 -0800
committerSamuel Ortiz <[email protected]>2013-02-14 00:26:45 +0100
commit5829e9b64e657560e840dc0ecfee177cb002cd69 (patch)
tree282ef54b0edf1c087abe14374ac69132cfdbc612 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parentc3e9e6b67db23ae678550f861b5679880481cfa3 (diff)
mfd: lpc_sch: Accomodate partial population of the MFD devices
The current probe aborts if any of the 3 base address registers are disabled. On a TunnelCreek system I am working on, this resulted in the SMBIOS and GPIO devices being removed when it couldn't read the base address for the watchdog timer. This patch accommodates partial population of the lpc_sch_cells array and only aborts if all the base address registers are disabled. A max size array is allocated and the individual device cells are added to it after their base addresses are successfully determined. This simplifies the code a bit by removing the need for the separate tunnelcreek cells array and combining some of the add/remove logic. Cc: Grant Likely <[email protected]>, Cc: Denis Turischev <[email protected]>, Cc: Greg Kroah-Hartman <[email protected]>, Cc: Linus Walleij <[email protected]> Signed-off-by: Darren Hart <[email protected]> Signed-off-by: Samuel Ortiz <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions