Skip to content

Commit

Permalink
mailbox: bcm-flexrm-mailbox: fix spelling mistake "toogle" -> "toggle"
Browse files Browse the repository at this point in the history
Trivial fix to spelling mistake in function name flexrm_flip_header_toogle,
rename it to flexrm_flip_header_toggle.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
  • Loading branch information
Colin Ian King authored and Jassi Brar committed Sep 29, 2018
1 parent 0a01fa9 commit 462f668
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/mailbox/bcm-flexrm-mailbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ static u32 flexrm_estimate_header_desc_count(u32 nhcnt)
return hcnt;
}

static void flexrm_flip_header_toogle(void *desc_ptr)
static void flexrm_flip_header_toggle(void *desc_ptr)
{
u64 desc = flexrm_read_desc(desc_ptr);

Expand Down Expand Up @@ -709,7 +709,7 @@ static void *flexrm_spu_write_descs(struct brcm_message *msg, u32 nhcnt,
wmb();

/* Flip toggle bit in header */
flexrm_flip_header_toogle(orig_desc_ptr);
flexrm_flip_header_toggle(orig_desc_ptr);

return desc_ptr;
}
Expand Down Expand Up @@ -838,7 +838,7 @@ static void *flexrm_sba_write_descs(struct brcm_message *msg, u32 nhcnt,
wmb();

/* Flip toggle bit in header */
flexrm_flip_header_toogle(orig_desc_ptr);
flexrm_flip_header_toggle(orig_desc_ptr);

return desc_ptr;
}
Expand Down

0 comments on commit 462f668

Please sign in to comment.