From: Robert Jarzmik Date: Sat, 19 Nov 2011 15:02:44 +0000 (+0100) Subject: mtd/docg3: fix tracing of IO in writeb X-Git-Tag: next-20111125~43^2~14 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=01c22cd8a376f03ac8e6c6d1e7caf4fdcbfb80c9;p=karo-tx-linux.git mtd/docg3: fix tracing of IO in writeb Writeb was incorrectly traced as a 16 bits write, instead of a 8 bits write. Fix it by tracing the correct width. Signed-off-by: Robert Jarzmik Reviewed-by: Ivan Djelic Reviewed-by: Mike Dunn --- diff --git a/drivers/mtd/devices/docg3.c b/drivers/mtd/devices/docg3.c index 6f5233da3929..8942a751342e 100644 --- a/drivers/mtd/devices/docg3.c +++ b/drivers/mtd/devices/docg3.c @@ -82,7 +82,7 @@ static inline u16 doc_readw(struct docg3 *docg3, u16 reg) static inline void doc_writeb(struct docg3 *docg3, u8 val, u16 reg) { writeb(val, docg3->base + reg); - trace_docg3_io(1, 16, reg, val); + trace_docg3_io(1, 8, reg, val); } static inline void doc_writew(struct docg3 *docg3, u16 val, u16 reg)