Re: [PATCH 06/18] dmaengine/amba-pl08x: Simplify pl08x_ensure_on()

From: Linus Walleij
Date: Sat Jul 30 2011 - 18:36:22 EST


2011/7/29 Viresh Kumar <viresh.kumar@xxxxxx>:

> Simply writing 1 on bit 0 is sufficient instead of reading and clearing bits.
> Also as per manual, for bit 3-31 of DMACConfiguration register:
> "read undefined, write as 0"
>
> So, we must not rely on values read from this registers bit 3-31.
>
> Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxx>

Obviously correct,
Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Thanks,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/