mirror of https://gitee.com/openkylin/linux.git
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:
parent
0a01fa940e
commit
462f668e5c
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue