From: Alessandro Rubini Date: Thu, 30 Jan 2014 12:05:09 +0000 (+0100) Subject: FMC: support carriers with no mezzanine X-Git-Tag: v3.15-rc1~141^2~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4d6c4b79cc189c1b0d65f8e3875c4411e097bee;p=pandora-kernel.git 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 Acked-by: Juan David Gonzalez Cobas Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed