Commit 3210b4fc authored by Pavel Machek's avatar Pavel Machek Committed by Sebastian Reichel

HSI: omap_ssi_core: fix kilo to be "k" not "K"

Kilo should be "k" not "K", fix it it comments and messages.
Signed-off-by: default avatarPavel Machek <pavel@ucw.cz>

index 88e48b3..41a09f5 100644
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
parent 2bd6bf03
...@@ -334,7 +334,7 @@ static int ssi_clk_event(struct notifier_block *nb, unsigned long event, ...@@ -334,7 +334,7 @@ static int ssi_clk_event(struct notifier_block *nb, unsigned long event,
case POST_RATE_CHANGE: case POST_RATE_CHANGE:
dev_dbg(&ssi->device, "post rate change (%lu -> %lu)\n", dev_dbg(&ssi->device, "post rate change (%lu -> %lu)\n",
clk_data->old_rate, clk_data->new_rate); clk_data->old_rate, clk_data->new_rate);
omap_ssi->fck_rate = DIV_ROUND_CLOSEST(clk_data->new_rate, 1000); /* KHz */ omap_ssi->fck_rate = DIV_ROUND_CLOSEST(clk_data->new_rate, 1000); /* kHz */
for (i = 0; i < ssi->num_ports; i++) { for (i = 0; i < ssi->num_ports; i++) {
omap_port = omap_ssi->port[i]; omap_port = omap_ssi->port[i];
...@@ -467,9 +467,9 @@ static int ssi_hw_init(struct hsi_controller *ssi) ...@@ -467,9 +467,9 @@ static int ssi_hw_init(struct hsi_controller *ssi)
} }
/* Resetting GDD */ /* Resetting GDD */
writel_relaxed(SSI_SWRESET, omap_ssi->gdd + SSI_GDD_GRST_REG); writel_relaxed(SSI_SWRESET, omap_ssi->gdd + SSI_GDD_GRST_REG);
/* Get FCK rate in KHz */ /* Get FCK rate in kHz */
omap_ssi->fck_rate = DIV_ROUND_CLOSEST(ssi_get_clk_rate(ssi), 1000); omap_ssi->fck_rate = DIV_ROUND_CLOSEST(ssi_get_clk_rate(ssi), 1000);
dev_dbg(&ssi->device, "SSI fck rate %lu KHz\n", omap_ssi->fck_rate); dev_dbg(&ssi->device, "SSI fck rate %lu kHz\n", omap_ssi->fck_rate);
writel_relaxed(SSI_CLK_AUTOGATING_ON, omap_ssi->sys + SSI_GDD_GCR_REG); writel_relaxed(SSI_CLK_AUTOGATING_ON, omap_ssi->sys + SSI_GDD_GCR_REG);
omap_ssi->gdd_gcr = SSI_CLK_AUTOGATING_ON; omap_ssi->gdd_gcr = SSI_CLK_AUTOGATING_ON;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment