Re: [PATCH v3 4/7] platform: cznic: turris-omnia-mcu: Add support for poweroff and wakeup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 23, 2023 at 10:40:45PM +0300, Andy Shevchenko wrote:
> On Mon, Oct 23, 2023 at 04:31:27PM +0200, Marek Behún wrote:

...

> > +	tmp = cpu_to_be32(get_unaligned_le32(&cmd[1]));
> > +	put_unaligned_le32(crc32_be(0xffffffff, (void *)&tmp, sizeof(tmp)),
> > +			   &cmd[5]);
> 
> Hmm... Why crc32_le*() can't be used?

I am adding a comment to explain this in v4.
Thx for review.

Marek




[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux