diff options
author | Alessandro Rubini | 2014-01-30 13:05:09 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-02-15 11:51:04 -0800 |
commit | e4d6c4b79cc189c1b0d65f8e3875c4411e097bee (patch) | |
tree | caff9536dd1a3de13343ea2fd572784035526638 /block | |
parent | 08d2d00b291ed4eb91530050274e67a761c1901d (diff) |
FMC: support carriers with no mezzanine
At registration and unregistration time, I was checking fmc->flags
for FMC_DEVICE_NO_MEZZANINE, to skip initialization and cleanup for
empty slots. The check was wrong ("==" instead of "&") but
registration failed anyways (as expected) because we had no EEPROM.
This commit fixes one such checks and removes the other, so to
actually accept slots with no mezzanines. That's because the carrier
may offer some support anyways (the SPEC does), and working on the
carrier with no mezzanine-specific driver is common during
development.
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Acked-by: Juan David Gonzalez Cobas <dcobas@cern.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions