Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 150
Prep for adding multiple clients in the SOF driver#1478
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
81a856e4bcaad9be02078c13679f6592d88c484215a5cc443d7ba982a4e6f10b585b24File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -22,7 +22,6 @@ struct snd_sof_dsp_ops; | ||
| */ | ||
| struct snd_sof_pdata { | ||
| const struct firmware *fw; | ||
| const char *drv_name; | ||
| const char *name; | ||
| const char *platform; | ||
| @@ -84,20 +83,19 @@ struct sof_dev_desc { | ||
| const void *chip_info; | ||
| /* defaults for no codec mode */ | ||
| const char *nocodec_fw_filename; | ||
| const char *nocodec_tplg_filename; | ||
| /* defaults paths for firmware and topology files */ | ||
| const char *default_fw_path; | ||
| const char *default_tplg_path; | ||
| /* default firmware name */ | ||
| const char *default_fw_filename; | ||
| const struct snd_sof_dsp_ops *ops; | ||
| const struct sof_arch_ops *arch_ops; | ||
| }; | ||
Collaborator There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ranj063 Again a nit with the commit message: "Set the drv_name and tplg_filename.... in the sof_machine_check op" However this patch does not touch sof_machine_check, making this confusing. Did you mean that "As the drv_name and tplg_filename for nocodec machine driver is set in the sof_machine_check, sof_nocodec_setup() does not need..." ? CollaboratorAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @kv2019i I changed the commit message slightly but the patch does modify sof_machine_check() to set the drv_name for the nocodec case no? Collaborator There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ranj063 Ah, you are right, I misread. Having rationale why the change is done would be good as well. So I guess here the idea is to decouple sof_nocodec_setup() from acpi mach structure, right? But yeah, this is apparent from the series, so good enough for me. | ||
| int sof_nocodec_setup(struct device *dev, | ||
| struct snd_sof_pdata *sof_pdata, | ||
| struct snd_soc_acpi_mach *mach, | ||
| const struct sof_dev_desc *desc, | ||
| const struct snd_sof_dsp_ops *ops); | ||
| #endif | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -3,7 +3,7 @@ | ||
| ccflags-y += -DDEBUG | ||
ranj063 marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| snd-sof-objs := core.o ops.o loader.o ipc.o pcm.o pm.o debug.o topology.o\ | ||
| control.o trace.o utils.o | ||
| control.o trace.o utils.o sof-audio.o | ||
| snd-sof-pci-objs := sof-pci-dev.o | ||
| snd-sof-acpi-objs := sof-acpi-dev.o | ||
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.