[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAOReqxiSAhrSjXVW=D+ndXko95qLuHGkkNs5Wf-yVEcv1YompQ@mail.gmail.com>
Date: Fri, 14 Jan 2022 08:57:58 -0800
From: Curtis Malainey <cujomalainey@...gle.com>
To: "allen-kh.cheng" <allen-kh.cheng@...iatek.com>
Cc: Jassi Brar <jassisinghbrar@...il.com>,
Rob Herring <robh+dt@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
Linux-ALSA <alsa-devel@...a-project.org>,
Tzung-Bi Shih <tzungbi@...gle.com>,
Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>,
Liam Girdwood <lgirdwood@...il.com>,
Ranjani Sridharan <ranjani.sridharan@...ux.intel.com>,
Kai Vehmanen <kai.vehmanen@...ux.intel.com>,
Daniel Baluta <daniel.baluta@....com>,
Mark Brown <broonie@...nel.org>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
Chen-Yu Tsai <wenst@...omium.org>,
Kevin Hilman <khilman@...libre.com>,
Project_Global_Chrome_Upstream_Group@...iatek.com,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org,
sound-open-firmware@...a-project.org
Subject: Re: [PATCH v14 2/2] mailbox: mediatek: add support for adsp mailbox controller
> +
> +static struct mtk_adsp_mbox_priv *get_mtk_adsp_mbox_priv(struct mbox_controller *mbox)
> +{
> + return container_of(mbox, struct mtk_adsp_mbox_priv, mbox);
> +}
this could probably be inline
> +
> +static struct mbox_chan *mtk_adsp_mbox_xlate(struct mbox_controller *mbox,
> + const struct of_phandle_args *sp)
> +{
> + return mbox->chans;
> +}
also could probably benefit from inline
Powered by blists - more mailing lists