@@ -54,7 +54,7 @@ static void build_instantiation_desc(u32 *desc, int handle, int do_sk)
54
54
55
55
/*
56
56
* 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.
58
58
*/
59
59
append_load_imm_u32 (desc , 1 , LDST_SRCDST_WORD_CLRW );
60
60
@@ -156,7 +156,7 @@ static inline int run_descriptor_deco0(struct device *ctrldev, u32 *desc,
156
156
DESC_DER_DECO_STAT_SHIFT ;
157
157
158
158
/*
159
- * If an error occured in the descriptor, then
159
+ * If an error occurred in the descriptor, then
160
160
* the DECO status field will be set to 0x0D
161
161
*/
162
162
if (deco_state == DECO_STAT_HOST_ERR )
@@ -264,7 +264,7 @@ static void devm_deinstantiate_rng(void *data)
264
264
* - -ENODEV if DECO0 couldn't be acquired
265
265
* - -EAGAIN if an error occurred when executing the descriptor
266
266
* f.i. there was a RNG hardware error due to not "good enough"
267
- * entropy being aquired .
267
+ * entropy being acquired .
268
268
*/
269
269
static int instantiate_rng (struct device * ctrldev , int state_handle_mask ,
270
270
int gen_sk )
@@ -733,8 +733,8 @@ static int caam_probe(struct platform_device *pdev)
733
733
handle_imx6_err005766 (& ctrl -> mcr );
734
734
735
735
/*
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
738
738
*/
739
739
scfgr = rd_reg32 (& ctrl -> scfgr );
740
740
@@ -863,9 +863,9 @@ static int caam_probe(struct platform_device *pdev)
863
863
}
864
864
/*
865
865
* 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
867
867
* upper and lower limits of the entropy sampling
868
- * interval, leading to a sucessful initialization of
868
+ * interval, leading to a successful initialization of
869
869
* the RNG.
870
870
*/
871
871
ret = instantiate_rng (dev , inst_handles ,
@@ -882,8 +882,8 @@ static int caam_probe(struct platform_device *pdev)
882
882
return ret ;
883
883
}
884
884
/*
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
887
887
*/
888
888
ctrlpriv -> rng4_sh_init = ~ctrlpriv -> rng4_sh_init & RDSTA_MASK ;
889
889
0 commit comments