mailbox: bcm-flexrm-mailbox: fix spelling mistake "toogle" -> "toggle"

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>
This commit is contained in:
Colin Ian King 2018-09-24 17:42:48 +01:00 committed by Jassi Brar
parent 0a01fa940e
commit 462f668e5c

View File

@ -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);
@ -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;
}
@ -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;
}