[PATCH] can: xilinx_can: Add Transmitter delay compensation (TDC) feature support

Vincent Mailhol vincent.mailhol at gmail.com
Thu May 12 18:37:59 PDT 2022


On Fri. 13 May 2022 at 10:24, Vincent Mailhol <vincent.mailhol at gmail.com> wrote:
> On Fri. 13 May 2022 at 07:30, Srinivas Neeli <srinivas.neeli at 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



More information about the linux-arm-kernel mailing list