summaryrefslogtreecommitdiffstats
path: root/drivers/hsi
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2017-09-23 15:08:38 -0400
committerSebastian Reichel <sre@kernel.org>2017-10-01 11:19:50 -0400
commit3210b4fca695ed0ecba28ba9b00ce3dca7d62b1a (patch)
tree55a75a643951b9e91001cde0a8ddb94fadb40fdd /drivers/hsi
parent2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e (diff)
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: Pavel Machek <pavel@ucw.cz> index 88e48b3..41a09f5 100644 Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/hsi')
-rw-r--r--drivers/hsi/controllers/omap_ssi_core.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/hsi/controllers/omap_ssi_core.c b/drivers/hsi/controllers/omap_ssi_core.c
index 88e48b346916..41a09f506803 100644
--- a/drivers/hsi/controllers/omap_ssi_core.c
+++ b/drivers/hsi/controllers/omap_ssi_core.c
@@ -334,7 +334,7 @@ static int ssi_clk_event(struct notifier_block *nb, unsigned long event,
334 case POST_RATE_CHANGE: 334 case POST_RATE_CHANGE:
335 dev_dbg(&ssi->device, "post rate change (%lu -> %lu)\n", 335 dev_dbg(&ssi->device, "post rate change (%lu -> %lu)\n",
336 clk_data->old_rate, clk_data->new_rate); 336 clk_data->old_rate, clk_data->new_rate);
337 omap_ssi->fck_rate = DIV_ROUND_CLOSEST(clk_data->new_rate, 1000); /* KHz */ 337 omap_ssi->fck_rate = DIV_ROUND_CLOSEST(clk_data->new_rate, 1000); /* kHz */
338 338
339 for (i = 0; i < ssi->num_ports; i++) { 339 for (i = 0; i < ssi->num_ports; i++) {
340 omap_port = omap_ssi->port[i]; 340 omap_port = omap_ssi->port[i];
@@ -467,9 +467,9 @@ static int ssi_hw_init(struct hsi_controller *ssi)
467 } 467 }
468 /* Resetting GDD */ 468 /* Resetting GDD */
469 writel_relaxed(SSI_SWRESET, omap_ssi->gdd + SSI_GDD_GRST_REG); 469 writel_relaxed(SSI_SWRESET, omap_ssi->gdd + SSI_GDD_GRST_REG);
470 /* Get FCK rate in KHz */ 470 /* Get FCK rate in kHz */
471 omap_ssi->fck_rate = DIV_ROUND_CLOSEST(ssi_get_clk_rate(ssi), 1000); 471 omap_ssi->fck_rate = DIV_ROUND_CLOSEST(ssi_get_clk_rate(ssi), 1000);
472 dev_dbg(&ssi->device, "SSI fck rate %lu KHz\n", omap_ssi->fck_rate); 472 dev_dbg(&ssi->device, "SSI fck rate %lu kHz\n", omap_ssi->fck_rate);
473 473
474 writel_relaxed(SSI_CLK_AUTOGATING_ON, omap_ssi->sys + SSI_GDD_GCR_REG); 474 writel_relaxed(SSI_CLK_AUTOGATING_ON, omap_ssi->sys + SSI_GDD_GCR_REG);
475 omap_ssi->gdd_gcr = SSI_CLK_AUTOGATING_ON; 475 omap_ssi->gdd_gcr = SSI_CLK_AUTOGATING_ON;