Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/sparse issues #17

Merged
merged 5 commits into from
Jul 2, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sound/soc/sof/intel/bdw.c
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ static struct snd_soc_dai_driver bdw_dai[] = {
},
};

struct snd_sof_dai_drv bdw_dai_drv = {
static struct snd_sof_dai_drv bdw_dai_drv = {
.drv = bdw_dai,
.num_drv = ARRAY_SIZE(bdw_dai)
};
Expand Down
4 changes: 2 additions & 2 deletions sound/soc/sof/intel/byt.c
Original file line number Diff line number Diff line change
Expand Up @@ -799,12 +799,12 @@ static struct snd_soc_dai_driver byt_dai[] = {
},
};

struct snd_sof_dai_drv byt_dai_drv = {
static struct snd_sof_dai_drv byt_dai_drv = {
.drv = byt_dai,
.num_drv = 3, /* we have only 3 SSPs on byt*/
};

struct snd_sof_dai_drv cht_dai_drv = {
static struct snd_sof_dai_drv cht_dai_drv = {
.drv = byt_dai,
/* all 6 SSPs may be available for cherrytrail */
.num_drv = ARRAY_SIZE(byt_dai),
Expand Down
1 change: 1 addition & 0 deletions sound/soc/sof/intel/hda-dai.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

#include <sound/pcm_params.h>
#include "../sof-priv.h"
#include "hda.h"

#define SKL_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE | \
SNDRV_PCM_FMTBIT_S32_LE)
Expand Down
2 changes: 1 addition & 1 deletion sound/soc/sof/intel/hsw.c
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ static struct snd_soc_dai_driver hsw_dai[] = {
},
};

struct snd_sof_dai_drv hsw_dai_drv = {
static struct snd_sof_dai_drv hsw_dai_drv = {
.drv = hsw_dai,
.num_drv = ARRAY_SIZE(hsw_dai)
};
Expand Down
5 changes: 0 additions & 5 deletions sound/soc/sof/intel/skl.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ static const struct snd_sof_debugfs_map skl_dsp_debugfs[] = {
{"dsp", HDA_DSP_BAR, 0, 0x10000},
};

int skl_run_firmware(struct snd_sof_dev *sdev)
{
return 0;
}

/* skylake ops */
struct snd_sof_dsp_ops sof_skl_ops = {
/* probe and remove */
Expand Down