diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2011-11-19 10:02:44 -0500 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-01-09 13:07:13 -0500 |
commit | 84a930581ef45e81cff0450b19ce5a70f24d50bb (patch) | |
tree | fb852b2813178582c90bd18b26f442138f84e86b /drivers/mtd/devices | |
parent | ac48e800c077738f18d3789d5eb8958bf52cf2d7 (diff) |
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 <robert.jarzmik@free.fr>
Reviewed-by: Ivan Djelic <ivan.djelic@parrot.com>
Reviewed-by: Mike Dunn <mikedunn@newsguy.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/devices')
-rw-r--r-- | drivers/mtd/devices/docg3.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
82 | static inline void doc_writeb(struct docg3 *docg3, u8 val, u16 reg) | 82 | static inline void doc_writeb(struct docg3 *docg3, u8 val, u16 reg) |
83 | { | 83 | { |
84 | writeb(val, docg3->base + reg); | 84 | writeb(val, docg3->base + reg); |
85 | trace_docg3_io(1, 16, reg, val); | 85 | trace_docg3_io(1, 8, reg, val); |
86 | } | 86 | } |
87 | 87 | ||
88 | static inline void doc_writew(struct docg3 *docg3, u16 val, u16 reg) | 88 | static inline void doc_writew(struct docg3 *docg3, u16 val, u16 reg) |