*
* @host: Pointer to the sdhci_host structure.
* @degrees: The clock phase shift between 0 - 359.
- * Return: 0 on success and error value on error
+ * Return: 0
*/
static int sdhci_zynqmp_sdcardclk_set_phase(struct sdhci_host *host,
int degrees)
struct arasan_sdhci_priv *priv = dev_get_priv(host->mmc->dev);
struct mmc *mmc = (struct mmc *)host->mmc;
u8 tap_delay, tap_max = 0;
- int ret;
int timing = mode2timing[mmc->selected_mode];
/*
arasan_zynqmp_set_tapdelay(priv->deviceid, 0, tap_delay);
- return ret;
+ return 0;
}
/**
*
* @host: Pointer to the sdhci_host structure.
* @degrees: The clock phase shift between 0 - 359.
- * Return: 0 on success and error value on error
+ * Return: 0
*/
static int sdhci_zynqmp_sampleclk_set_phase(struct sdhci_host *host,
int degrees)
struct arasan_sdhci_priv *priv = dev_get_priv(host->mmc->dev);
struct mmc *mmc = (struct mmc *)host->mmc;
u8 tap_delay, tap_max = 0;
- int ret;
int timing = mode2timing[mmc->selected_mode];
/*
arasan_zynqmp_set_tapdelay(priv->deviceid, tap_delay, 0);
- return ret;
+ return 0;
}
/**
*
* @host: Pointer to the sdhci_host structure.
* @degrees The clock phase shift between 0 - 359.
- * Return: 0 on success and error value on error
+ * Return: 0
*/
static int sdhci_versal_sdcardclk_set_phase(struct sdhci_host *host,
int degrees)
{
struct mmc *mmc = (struct mmc *)host->mmc;
u8 tap_delay, tap_max = 0;
- int ret;
int timing = mode2timing[mmc->selected_mode];
/*
sdhci_writel(host, regval, SDHCI_ARASAN_OTAPDLY_REGISTER);
}
- return ret;
+ return 0;
}
/**
*
* @host: Pointer to the sdhci_host structure.
* @degrees The clock phase shift between 0 - 359.
- * Return: 0 on success and error value on error
+ * Return: 0
*/
static int sdhci_versal_sampleclk_set_phase(struct sdhci_host *host,
int degrees)
{
struct mmc *mmc = (struct mmc *)host->mmc;
u8 tap_delay, tap_max = 0;
- int ret;
int timing = mode2timing[mmc->selected_mode];
/*
sdhci_writel(host, regval, SDHCI_ARASAN_ITAPDLY_REGISTER);
}
- return ret;
+ return 0;
}
static void arasan_sdhci_set_tapdelay(struct sdhci_host *host)