Re: [PATCH 2/2] spi: Add SPI master controller for OCTEON SOCs.

From: Linus Walleij
Date: Mon May 14 2012 - 16:07:40 EST


On Fri, May 11, 2012 at 11:34 PM, David Daney <ddaney.cavm@xxxxxxxxx> wrote:

> +       mpi_cfg.u64 = 0;
> +       mpi_cfg.u64 |= p->cs_enax;
> +       if (mpi_cfg.u64 != p->last_cfg) {

But now I see why this 64bit is so clever. Forget the comment on 1/2!
This has a certain elegance to it that I just learned to appreciate.

Yours,
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/