> -----Original Message----- > From: Jassi Brar [mailto:jassisinghbrar@xxxxxxxxx] [...] > > + > > +static void imx_mu_txdb_work(struct work_struct *work) { > > + struct imx_mu_con_priv *cp = > > + container_of(work, struct imx_mu_con_priv, work); > > + mbox_chan_txdone(cp->chan, 0); } > > > The api assumes a controller have same type of channels. So we are having > to do this here. > I am not sure, but would declaring two mailbox controllers (one with > doorbells and the other data channels) work? > If not, at least we could use a tasklet instead of a work queue? > I'm also a bit curious what the meaning of calling mbox_chan_txdone for a doorbell mailbox? Is there any recommended way to use it? Regards Dong Aisheng ��.n��������+%������w��{.n����z�{��ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f