Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • early-display
  • variant-emmc-nvme-boot
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
7 results

xilinx_spi.c

Blame
  • Forked from Reform / reform-boundary-uboot
    Source project has a limited visibility.
    • Jagan Teki's avatar
      d5f60737
      spi: xilinx_spi: Fix to configure CPOL, CPHA mask · d5f60737
      Jagan Teki authored
      
      priv->mode is initialized when .set_speed triggers
      with mode value, so checking mode for configuring
      CPOL, CPHA using priv->mode is invalid hence use
      mode from .set_speed argument, and at the end
      priv->mode will initialized with mode.
      
      This patch also replaces formatting string to use
      speed instead of mode in .set_speed ops.
      
      Signed-off-by: default avatarJagan Teki <jteki@openedev.com>
      d5f60737
      History
      spi: xilinx_spi: Fix to configure CPOL, CPHA mask
      Jagan Teki authored
      
      priv->mode is initialized when .set_speed triggers
      with mode value, so checking mode for configuring
      CPOL, CPHA using priv->mode is invalid hence use
      mode from .set_speed argument, and at the end
      priv->mode will initialized with mode.
      
      This patch also replaces formatting string to use
      speed instead of mode in .set_speed ops.
      
      Signed-off-by: default avatarJagan Teki <jteki@openedev.com>