mci: Print versions with micro levels correctly
The version is stored as BCD, e.g. 0x40 -> ".4" and 0x41 -> ".41".
The latter was getting printed as ".65".  Simplify the logic a bit to
not split the minor into nybbles just to re-assemble it into a byte
again.

Signed-off-by: Trent Piepho <tpiepho@kymetacorp.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent f1d4230 commit dbd7190295298acfb4996ec1aba5165a7be28fdc
@Trent Piepho Trent Piepho authored on 4 Nov 2015
Sascha Hauer committed on 5 Nov 2015
Showing 1 changed file
View
drivers/mci/mci-core.c