[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <98f01f9e-96f8-6867-1af3-475294e81a9d@gmail.com>
Date: Thu, 1 Oct 2020 23:57:02 +0300
From: Dmitry Osipenko <digetx@...il.com>
To: Sameer Pujar <spujar@...dia.com>, broonie@...nel.org,
lgirdwood@...il.com, robh+dt@...nel.org,
kuninori.morimoto.gx@...esas.com,
pierre-louis.bossart@...ux.intel.com, perex@...ex.cz,
tiwai@...e.com, thierry.reding@...il.com, jonathanh@...dia.com
Cc: alsa-devel@...a-project.org, devicetree@...r.kernel.org,
linux-tegra@...r.kernel.org, linux-kernel@...r.kernel.org,
sharadg@...dia.com, mkumard@...dia.com, viswanathl@...dia.com,
rlokhande@...dia.com, dramesh@...dia.com, atalambedu@...dia.com,
nwartikar@...dia.com, swarren@...dia.com, nicoleotsuka@...il.com
Subject: Re: [PATCH v3 10/13] ASoC: tegra: Add audio graph based card driver
01.10.2020 20:33, Sameer Pujar пишет:
> +/* Setup PLL clock as per the given sample rate */
> +static int tegra_audio_graph_update_pll(struct snd_pcm_substream *substream,
> + struct snd_pcm_hw_params *params)
> +{
> + struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream);
> + struct asoc_simple_priv *priv = snd_soc_card_get_drvdata(rtd->card);
> + struct device *dev = rtd->card->dev;
> + struct tegra_audio_graph_data *graph_data =
> + (struct tegra_audio_graph_data *)priv->data;
> + struct tegra_audio_chip_data *chip_data =
> + (struct tegra_audio_chip_data *)of_device_get_match_data(dev);
void* doesn't need casting
Powered by blists - more mailing lists