Loading
mailbox: omap: Use mbox_bind_client
mainline inclusion from mainline-v6.4-rc1 commit f11ff34d category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I9S5DK CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=f11ff34d883a26f4f13c307aeb556f2b076a5066 -------------------------------- Use generic mbox_bind_client() to bind omap mailbox channel to a client. mbox_bind_client is identical to the replaced lines, except that it: - Does the operation under con_mutex which prevents possible races in removal path - Sets TXDONE_BY_ACK if omap uses TXDONE_BY_POLL. omap uses TXDONE_BY_IRQ, so this check is not applicable. - Calls chan->mbox->ops->startup, if available. omap doesn't have, so this is not applicable. Signed-off-by:Elliot Berman <quic_eberman@quicinc.com> Signed-off-by:
Jassi Brar <jaswinder.singh@linaro.org>