summaryrefslogtreecommitdiff
path: root/src/soc/qualcomm/qcs405
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/qualcomm/qcs405')
-rw-r--r--src/soc/qualcomm/qcs405/clock.c4
-rw-r--r--src/soc/qualcomm/qcs405/qup.c1
-rw-r--r--src/soc/qualcomm/qcs405/soc.c1
-rw-r--r--src/soc/qualcomm/qcs405/spi.c1
4 files changed, 0 insertions, 7 deletions
diff --git a/src/soc/qualcomm/qcs405/clock.c b/src/soc/qualcomm/qcs405/clock.c
index ce846543dc..a3a41c739b 100644
--- a/src/soc/qualcomm/qcs405/clock.c
+++ b/src/soc/qualcomm/qcs405/clock.c
@@ -144,7 +144,6 @@ static bool clock_is_off(void *cbcr_addr)
static int clock_enable_vote(void *cbcr_addr, void *vote_addr,
uint32_t vote_bit)
{
-
/* Set clock vote bit */
setbits32(vote_addr, BIT(vote_bit));
@@ -156,7 +155,6 @@ static int clock_enable_vote(void *cbcr_addr, void *vote_addr,
static int clock_enable(void *cbcr_addr)
{
-
/* Set clock enable bit */
setbits32(cbcr_addr, BIT(CLK_CTL_CBC_CLK_EN_SHFT));
@@ -169,7 +167,6 @@ static int clock_enable(void *cbcr_addr)
static int clock_disable(void *cbcr_addr)
{
-
/* Set clock enable bit */
clrbits32(cbcr_addr, BIT(CLK_CTL_CBC_CLK_EN_SHFT));
return 0;
@@ -303,7 +300,6 @@ void clock_disable_spi(int blsp, int qup)
clock_enable(&gcc->blsp2_qup0_spi_apps_cbcr);
else
printk(BIOS_ERR, "BLSP%d not supported\n", blsp);
-
}
void clock_enable_i2c(void)
diff --git a/src/soc/qualcomm/qcs405/qup.c b/src/soc/qualcomm/qcs405/qup.c
index e3a4e5e69e..b5805b046e 100644
--- a/src/soc/qualcomm/qcs405/qup.c
+++ b/src/soc/qualcomm/qcs405/qup.c
@@ -235,7 +235,6 @@ static qup_return_t qup_i2c_write_fifo(blsp_qup_id_t id, qup_data_t *p_tx_obj,
stopwatch_init_usecs_expire(&timeout, CONFIG_I2C_TRANSFER_TIMEOUT_US);
while (data_len) {
-
tag = qup_i2c_create_output_tag(data_len == 1 && stop_seq,
data_ptr[idx]);
data_len--;
diff --git a/src/soc/qualcomm/qcs405/soc.c b/src/soc/qualcomm/qcs405/soc.c
index 18bf698d5a..c53cbf2b84 100644
--- a/src/soc/qualcomm/qcs405/soc.c
+++ b/src/soc/qualcomm/qcs405/soc.c
@@ -13,7 +13,6 @@ static void soc_read_resources(struct device *dev)
static void soc_init(struct device *dev)
{
-
}
static struct device_operations soc_ops = {
diff --git a/src/soc/qualcomm/qcs405/spi.c b/src/soc/qualcomm/qcs405/spi.c
index 48631884c7..b263d2fae9 100644
--- a/src/soc/qualcomm/qcs405/spi.c
+++ b/src/soc/qualcomm/qcs405/spi.c
@@ -403,7 +403,6 @@ static int check_fifo_status(void *reg_addr)
static void enable_io_config(struct qcs_spi_slave *ds,
uint32_t write_cnt, uint32_t read_cnt)
{
-
if (write_cnt) {
clrsetbits32(ds->regs->qup_config,
QUP_CONF_OUTPUT_MSK, QUP_CONF_OUTPUT_ENA);