aboutsummaryrefslogtreecommitdiff
path: root/src/soc/qualcomm/ipq40xx
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/qualcomm/ipq40xx')
-rw-r--r--src/soc/qualcomm/ipq40xx/gpio.c4
-rw-r--r--src/soc/qualcomm/ipq40xx/spi.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/soc/qualcomm/ipq40xx/gpio.c b/src/soc/qualcomm/ipq40xx/gpio.c
index e7874a786a..8e248c50cd 100644
--- a/src/soc/qualcomm/ipq40xx/gpio.c
+++ b/src/soc/qualcomm/ipq40xx/gpio.c
@@ -18,7 +18,7 @@ static inline int gpio_not_valid(gpio_t gpio)
}
/*******************************************************
-Function description: configure GPIO functinality
+Function description: configure GPIO functionality
Arguments :
gpio_t gpio - Gpio number
unsigned func - Functionality number
@@ -77,7 +77,7 @@ void gpio_tlmm_config_get(gpio_t gpio, unsigned int *func,
}
/*******************************************************
-Function description: get GPIO IO functinality details
+Function description: get GPIO IO functionality details
Arguments :
gpio_t gpio - Gpio number
unsigned *in - Value of GPIO input
diff --git a/src/soc/qualcomm/ipq40xx/spi.c b/src/soc/qualcomm/ipq40xx/spi.c
index da7a6d3560..31677e460f 100644
--- a/src/soc/qualcomm/ipq40xx/spi.c
+++ b/src/soc/qualcomm/ipq40xx/spi.c
@@ -328,7 +328,7 @@ static unsigned char spi_read_byte(struct ipq_spi_slave *ds)
}
/*
- * Function to check wheather Input or Output FIFO
+ * Function to check whether Input or Output FIFO
* has data to be serviced
*/
static int check_fifo_status(void *reg_addr)
@@ -627,7 +627,7 @@ static int spi_ctrlr_setup(const struct spi_slave *slave)
|| ((bus == BLSP0_SPI) && (cs > 2))
|| ((bus == BLSP1_SPI) && (cs > 0))) {
printk(BIOS_ERR,
- "SPI error: unsupported bus %d (Supported busses 0, 1 and 2) "
+ "SPI error: unsupported bus %d (Supported buses 0, 1 and 2) "
"or chipselect\n", bus);
return -1;
}