lkml.org 
[lkml]   [2022]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] can: xilinx_can: Add Transmitter delay compensation (TDC) feature support
On Fri. 13 May 2022 at 10:24, Vincent Mailhol <vincent.mailhol@gmail.com> wrote:
> On Fri. 13 May 2022 at 07:30, Srinivas Neeli <srinivas.neeli@xilinx.com> wrote:
[...]
> btr0 = btr0 |
> priv->can.tdc.tdco << XCAN_BRPR_TDCO_SHIFT |
> XCAN_BRPR_TDC_ENABLE

Actually, you can use |= operator:

btr0 |= priv->can.tdc.tdco << XCAN_BRPR_TDCO_SHIFT |
XCAN_BRPR_TDC_ENABLE

\
 
 \ /
  Last update: 2022-05-13 03:38    [W:0.249 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site