[PATCH 3/4] net: can: ifi: Fix RX and TX ID mask

2016-03-02 Thread Marek Vasut
The RX and TX ID mask for CAN2.0 is 11 bits wide. This patch fixes the incorrect mask, which caused the CAN IDs to miss the MSBit both on receive and transmit. Signed-off-by: Marek Vasut Cc: Marc Kleine-Budde Cc: Mark Rutland Cc: Oliver

Re: [PATCH 3/4] net: can: ifi: Fix RX and TX ID mask

2016-03-02 Thread Marek Vasut
On 03/02/2016 07:10 AM, Oliver Hartkopp wrote: > Hi Marek, > > On 03/01/2016 10:23 PM, Marek Vasut wrote: >> On 03/01/2016 06:49 PM, Oliver Hartkopp wrote: > > -#define IFI_CANFD_RXFIFO_ID_ID_STD_MASK 0x3ff +#define IFI_CANFD_RXFIFO_ID_ID_STD_MASK 0x7ff

Re: [PATCH 3/4] net: can: ifi: Fix RX and TX ID mask

2016-03-01 Thread Oliver Hartkopp
Hi Marek, On 03/01/2016 10:23 PM, Marek Vasut wrote: > On 03/01/2016 06:49 PM, Oliver Hartkopp wrote: >>> -#define IFI_CANFD_RXFIFO_ID_ID_STD_MASK0x3ff >>> +#define IFI_CANFD_RXFIFO_ID_ID_STD_MASK0x7ff >>> #define IFI_CANFD_RXFIFO_ID_ID_XTD_MASK0x1fff >>

Re: [PATCH 3/4] net: can: ifi: Fix RX and TX ID mask

2016-03-01 Thread Marek Vasut
On 03/01/2016 06:49 PM, Oliver Hartkopp wrote: > Hi Marek, Hi Oliver, > On 02/29/2016 08:59 PM, Marek Vasut wrote: >> The RX and TX ID mask for CAN2.0 is 11 bits wide. This patch fixes >> the incorrect mask, which caused the CAN IDs to miss the MSBit both >> on receive and transmit. >> >>

Re: [PATCH 3/4] net: can: ifi: Fix RX and TX ID mask

2016-03-01 Thread Oliver Hartkopp
Hi Marek, On 02/29/2016 08:59 PM, Marek Vasut wrote: > The RX and TX ID mask for CAN2.0 is 11 bits wide. This patch fixes > the incorrect mask, which caused the CAN IDs to miss the MSBit both > on receive and transmit. > > Signed-off-by: Marek Vasut > Cc: Marc Kleine-Budde

[PATCH 3/4] net: can: ifi: Fix RX and TX ID mask

2016-02-29 Thread Marek Vasut
The RX and TX ID mask for CAN2.0 is 11 bits wide. This patch fixes the incorrect mask, which caused the CAN IDs to miss the MSBit both on receive and transmit. Signed-off-by: Marek Vasut Cc: Marc Kleine-Budde Cc: Mark Rutland Cc: Oliver