lkml.org 
[lkml]   [2011]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v3 02/16] mtd/docg3: fix tracing of IO in writeb
    Date
    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>
    ---
    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 6f5233d..8942a75 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)
    --
    1.7.5.4


    \
     
     \ /
      Last update: 2011-11-19 16:05    [W:0.028 / U:2.148 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site