On 20/8/2019 9:59 PM, Andy Shevchenko wrote:
On Tue, Aug 20, 2019 at 04:56:02PM +0300, Andy Shevchenko wrote:
On Tue, Aug 20, 2019 at 06:31:33PM +0800, Ramuthevar,Vadivel MuruganX wrote:
+#define DR_TY_50OHM(x)         ((~(x) << 28) & DR_TY_MASK)
For consistency it should be

#define DR_TY_SHIFT(x)          (((x) << 28) & DR_TY_MASK)

with explanation about 50 Ohm in the code below.
+       /* Drive impedance: 50 Ohm */
Nice, you have already a comment here. Just use DR_TY_SHIFT(1)
It should be DR_TY_SHIFT(6) now since I dropped the negation.

Thanks Andy, will update the review comments.

Best Regards
Vadivel

Reply via email to