Gerlando Falauto 830f8b9105 arm: plat-orion: fix printing of "MPP config unavailable on this hardware"
refactored printing of the kernel warning:

"orion_mpp_conf: requested MPP%u config unavailable on this hardware\n"

which is not to be printed in case of variant_mask = 0 (unknown variant).
This check should be performed using a logical AND (&&) as opposed
to a bitwise AND (&).

Otherwise, test would fail (and message would not be printed) if
variant_mask != 1

Signed-off-by: Gerlando Falauto <gerlando.falauto@keymile.com>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Olof Johansson <olof@lixom.net>
Cc: Nicolas Pitre <nico@linaro.org>
Cc: Holger Brunck <holger.brunck@keymile.com>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
2013-01-23 14:37:52 +00:00
..
2013-01-23 12:32:57 +00:00
2012-12-13 11:51:23 -08:00
2012-12-20 07:21:54 -08:00
2012-11-21 13:18:04 +08:00
2012-12-19 12:47:41 -08:00
2012-12-15 13:03:48 -08:00
2012-12-20 07:21:54 -08:00
2012-12-20 07:21:54 -08:00
2012-11-15 13:50:13 +01:00
2012-11-12 23:22:54 +01:00
2012-12-13 14:29:16 -08:00