@@ -54,7 +54,7 @@ static void build_instantiation_desc(u32 *desc, int handle, int do_sk)
5454
5555 /*
5656 * load 1 to clear written reg:
57- * resets the done interrrupt and returns the RNG to idle.
57+ * resets the done interrupt and returns the RNG to idle.
5858 */
5959 append_load_imm_u32 (desc , 1 , LDST_SRCDST_WORD_CLRW );
6060
@@ -156,7 +156,7 @@ static inline int run_descriptor_deco0(struct device *ctrldev, u32 *desc,
156156 DESC_DER_DECO_STAT_SHIFT ;
157157
158158 /*
159- * If an error occured in the descriptor, then
159+ * If an error occurred in the descriptor, then
160160 * the DECO status field will be set to 0x0D
161161 */
162162 if (deco_state == DECO_STAT_HOST_ERR )
@@ -264,7 +264,7 @@ static void devm_deinstantiate_rng(void *data)
264264 * - -ENODEV if DECO0 couldn't be acquired
265265 * - -EAGAIN if an error occurred when executing the descriptor
266266 * f.i. there was a RNG hardware error due to not "good enough"
267- * entropy being aquired .
267+ * entropy being acquired .
268268 */
269269static int instantiate_rng (struct device * ctrldev , int state_handle_mask ,
270270 int gen_sk )
@@ -733,8 +733,8 @@ static int caam_probe(struct platform_device *pdev)
733733 handle_imx6_err005766 (& ctrl -> mcr );
734734
735735 /*
736- * Read the Compile Time paramters and SCFGR to determine
737- * if Virtualization is enabled for this platform
736+ * Read the Compile Time parameters and SCFGR to determine
737+ * if virtualization is enabled for this platform
738738 */
739739 scfgr = rd_reg32 (& ctrl -> scfgr );
740740
@@ -863,9 +863,9 @@ static int caam_probe(struct platform_device *pdev)
863863 }
864864 /*
865865 * if instantiate_rng(...) fails, the loop will rerun
866- * and the kick_trng(...) function will modfiy the
866+ * and the kick_trng(...) function will modify the
867867 * upper and lower limits of the entropy sampling
868- * interval, leading to a sucessful initialization of
868+ * interval, leading to a successful initialization of
869869 * the RNG.
870870 */
871871 ret = instantiate_rng (dev , inst_handles ,
@@ -882,8 +882,8 @@ static int caam_probe(struct platform_device *pdev)
882882 return ret ;
883883 }
884884 /*
885- * Set handles init'ed by this module as the complement of the
886- * already initialized ones
885+ * Set handles initialized by this module as the complement of
886+ * the already initialized ones
887887 */
888888 ctrlpriv -> rng4_sh_init = ~ctrlpriv -> rng4_sh_init & RDSTA_MASK ;
889889
0 commit comments