Skip to content

Commit 8daf110

Browse files
Yan ZhenMani-Sadhasivam
authored andcommitted
bus: mhi: host: Fix typos in the comments
Correctly spelled comments make it easier for the reader to understand the code. Fix typos: 'Normaly' ==> 'Normally', 'gurantee' ==> 'guarantee', 'guranteed' ==> 'guaranteed'. Signed-off-by: Yan Zhen <[email protected]> Reviewed-by: Jeffrey Hugo <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Manivannan Sadhasivam <[email protected]>
1 parent 9852d85 commit 8daf110

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

drivers/bus/mhi/host/boot.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ static int __mhi_download_rddm_in_panic(struct mhi_controller *mhi_cntrl)
8282
* other cores to shutdown while we're collecting RDDM buffer. After
8383
* returning from this function, we expect the device to reset.
8484
*
85-
* Normaly, we read/write pm_state only after grabbing the
85+
* Normally, we read/write pm_state only after grabbing the
8686
* pm_lock, since we're in a panic, skipping it. Also there is no
87-
* gurantee that this state change would take effect since
87+
* guarantee that this state change would take effect since
8888
* we're setting it w/o grabbing pm_lock
8989
*/
9090
mhi_cntrl->pm_state = MHI_PM_LD_ERR_FATAL_DETECT;

drivers/bus/mhi/host/internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ struct mhi_chan {
255255
/*
256256
* Important: When consuming, increment tre_ring first and when
257257
* releasing, decrement buf_ring first. If tre_ring has space, buf_ring
258-
* is guranteed to have space so we do not need to check both rings.
258+
* is guaranteed to have space so we do not need to check both rings.
259259
*/
260260
struct mhi_ring buf_ring;
261261
struct mhi_ring tre_ring;

0 commit comments

Comments
 (0)