From: Larry Finger Date: Wed, 18 Feb 2015 20:09:38 +0000 (-0600) Subject: ssb: Silence warning for unknown backplane revision X-Git-Tag: v4.1~336^2~318^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=16f7031aeb63fc567c95bd2c3e431499defe2bf0;p=platform%2Fkernel%2Flinux-amlogic.git ssb: Silence warning for unknown backplane revision When using a BCM4318 in a PCMCIA format, I get a startup message that the device uses backplane revision 0xF000000. Next a WARNING is logged. Despite the message, the device works fine, This patch silences the warning. Cc: Rafał Miłecki Signed-off-by: Larry Finger Signed-off-by: Kalle Valo --- diff --git a/drivers/ssb/main.c b/drivers/ssb/main.c index 1e180c4..a48a743 100644 --- a/drivers/ssb/main.c +++ b/drivers/ssb/main.c @@ -1135,6 +1135,8 @@ static u32 ssb_tmslow_reject_bitmask(struct ssb_device *dev) case SSB_IDLOW_SSBREV_25: /* TODO - find the proper REJECT bit */ case SSB_IDLOW_SSBREV_27: /* same here */ return SSB_TMSLOW_REJECT; /* this is a guess */ + case SSB_IDLOW_SSBREV: + break; default: WARN(1, KERN_INFO "ssb: Backplane Revision 0x%.8X\n", rev); }