[PATCH v4 05/10] i2c: meson: use full 12 bits for clock divider

Wolfram Sang wsa at the-dreams.de
Thu Mar 23 13:34:04 PDT 2017


> +	/* clock divider has 12 bits */
> +	WARN_ON(div >= (1 << 12));

Do you insist on WARN_ON? I wonder what it gives over dev_err?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-amlogic/attachments/20170323/7e79ac35/attachment.sig>


More information about the linux-amlogic mailing list