Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

crypto: ccree - fix typos in comments

Fix some typos in code comments.

Signed-off-by: Hadar Gat <hadar.gat@arm.com>
Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Hadar Gat and committed by
Herbert Xu
e86eca41 060f1113

+9 -9
+1 -1
drivers/crypto/ccree/cc_driver.c
··· 133 133 u32 imr; 134 134 135 135 /* STAT_OP_TYPE_GENERIC STAT_PHASE_0: Interrupt */ 136 - /* if driver suspended return, probebly shared interrupt */ 136 + /* if driver suspended return, probably shared interrupt */ 137 137 if (cc_pm_is_dev_suspended(dev)) 138 138 return IRQ_NONE; 139 139
+1 -1
drivers/crypto/ccree/cc_fips.c
··· 120 120 cc_tee_handle_fips_error(drvdata); 121 121 } 122 122 123 - /* after verifing that there is nothing to do, 123 + /* after verifying that there is nothing to do, 124 124 * unmask AXI completion interrupt. 125 125 */ 126 126 val = (CC_REG(HOST_IMR) & ~irq);
+1 -1
drivers/crypto/ccree/cc_pm.c
··· 114 114 { 115 115 struct device *dev = drvdata_to_dev(drvdata); 116 116 117 - /* must be before the enabling to avoid resdundent suspending */ 117 + /* must be before the enabling to avoid redundant suspending */ 118 118 pm_runtime_set_autosuspend_delay(dev, CC_SUSPEND_TIMEOUT); 119 119 pm_runtime_use_autosuspend(dev); 120 120 /* activate the PM module */
+6 -6
drivers/crypto/ccree/cc_request_mgr.c
··· 230 230 struct device *dev = drvdata_to_dev(drvdata); 231 231 232 232 /* SW queue is checked only once as it will not 233 - * be chaned during the poll because the spinlock_bh 233 + * be changed during the poll because the spinlock_bh 234 234 * is held by the thread 235 235 */ 236 236 if (((req_mgr_h->req_queue_head + 1) & (MAX_REQUEST_QUEUE_SIZE - 1)) == ··· 303 303 304 304 /* 305 305 * We are about to push command to the HW via the command registers 306 - * that may refernece hsot memory. We need to issue a memory barrier 307 - * to make sure there are no outstnading memory writes 306 + * that may reference host memory. We need to issue a memory barrier 307 + * to make sure there are no outstanding memory writes 308 308 */ 309 309 wmb(); 310 310 ··· 532 532 533 533 /* 534 534 * We are about to push command to the HW via the command registers 535 - * that may refernece hsot memory. We need to issue a memory barrier 536 - * to make sure there are no outstnading memory writes 535 + * that may reference host memory. We need to issue a memory barrier 536 + * to make sure there are no outstanding memory writes 537 537 */ 538 538 wmb(); 539 539 enqueue_seq(drvdata, desc, len); ··· 668 668 request_mgr_handle->axi_completed += cc_axi_comp_count(drvdata); 669 669 } 670 670 671 - /* after verifing that there is nothing to do, 671 + /* after verifying that there is nothing to do, 672 672 * unmask AXI completion interrupt 673 673 */ 674 674 cc_iowrite(drvdata, CC_REG(HOST_IMR),