kernel_optimize_test/drivers/fmc
Alessandro Rubini e4d6c4b79c 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>
2014-02-15 11:51:04 -08:00
..
fmc-chardev.c FMC: fix locking in sample chardev driver 2013-07-24 22:56:52 -07:00
fmc-core.c FMC: support carriers with no mezzanine 2014-02-15 11:51:04 -08:00
fmc-dump.c FMC: add core bus driver 2013-06-18 15:36:56 -07:00
fmc-fakedev.c fmc: avoid readl/writel namespace conflict 2013-06-19 20:30:32 -07:00
fmc-match.c FMC: add core bus driver 2013-06-18 15:36:56 -07:00
fmc-sdb.c FMC: NULL dereference on allocation failure 2013-06-19 20:30:31 -07:00
fmc-trivial.c FMC: add a software mezzanine driver 2013-06-18 15:41:04 -07:00
fmc-write-eeprom.c FMC: Staticize local symbols 2013-08-12 15:45:40 -07:00
fru-parse.c FMC: add core bus driver 2013-06-18 15:36:56 -07:00
Kconfig treewide: Fix typo in Kconfig 2013-10-14 15:23:02 +02:00
Makefile FMC: add a char-device mezzanine driver 2013-06-18 15:42:15 -07:00