Fix some typos

Fix typos and common misspellings in code comments and in the manual.

Change-Id: I46fc9d424620c77ae9ccf78b58081bd303386d7c
diff --git a/tests/codec_pref/codec_pref_test.c b/tests/codec_pref/codec_pref_test.c
index ce82f3d..8bc31cd 100644
--- a/tests/codec_pref/codec_pref_test.c
+++ b/tests/codec_pref/codec_pref_test.c
@@ -325,7 +325,7 @@
 	cfg->m10_2 = 0;
 	cfg->m12_2 = 0;
 
-	/* Initalize TRX with a TCH/F and a TCH/H channel */
+	/* Initialize TRX with a TCH/F and a TCH/H channel */
 	memset(&trx, 0, sizeof(trx));
 	INIT_LLIST_HEAD(&bts->trx_list);
 	llist_add(&trx.list, &bts->trx_list);