The D_CAN controller doesn't provide a triple sampling mode, so don't set the CAN_CTRLMODE_3_SAMPLES flag in ctrlmode_supported. Currently enabling triple sampling is a no-op.
Unified · Split
| @@ -178,7 +178,6 @@ static int c_can_pci_probe(struct pci_dev *pdev, · 177 unmodified lines | ||
| 178 | 178 | break; |
| 179 | 179 | case BOSCH_D_CAN: |
| 180 | 180 | priv->regs = reg_map_d_can; |
| 181 | − priv->can.ctrlmode_supported |= CAN_CTRLMODE_3_SAMPLES; | |
| 182 | 181 | break; |
| 183 | 182 | default: |
| 184 | 183 | ret = -EINVAL; |
| @@ -320,7 +320,6 @@ static int c_can_plat_probe(struct platform_device *pdev) · 319 unmodified lines | ||
| 320 | 320 | break; |
| 321 | 321 | case BOSCH_D_CAN: |
| 322 | 322 | priv->regs = reg_map_d_can; |
| 323 | − priv->can.ctrlmode_supported |= CAN_CTRLMODE_3_SAMPLES; | |
| 324 | 323 | priv->read_reg = c_can_plat_read_reg_aligned_to_16bit; |
| 325 | 324 | priv->write_reg = c_can_plat_write_reg_aligned_to_16bit; |
| 326 | 325 | priv->read_reg32 = d_can_plat_read_reg32; |