Messages in this thread | | | From | Vincent Mailhol <> | Date | Fri, 13 May 2022 10:37:59 +0900 | Subject | Re: [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
| |