History

ASoC: core: Relocate and expose snd_soc_component_initialize

To allow for two-step component registration, expose snd_soc_component_initialize function and move it back to soc-core.c.

Cezary Rojewski committed 6 years ago

Commit 08ff7201 parent 14e5ad74 files · +20 −19Browse files

Showing the changes to include (2 of 4 files). Show all

Unified · Split

2 files
  1. include/sound/soc-component.h +0 −3
  2. include/sound/soc.h +3 −0
include/sound/soc-component.h+0−3
@@ -325,9 +325,6 @@ static inline int snd_soc_component_cache_sync( · 324 unmodified lines
325 return regcache_sync(component->regmap);325 return regcache_sync(component->regmap);
326}326}
327 327
328int snd_soc_component_initialize(struct snd_soc_component *component,
329 const struct snd_soc_component_driver *driver,
330 struct device *dev, const char *name);
331void snd_soc_component_set_aux(struct snd_soc_component *component,328void snd_soc_component_set_aux(struct snd_soc_component *component,
332 struct snd_soc_aux_dev *aux);329 struct snd_soc_aux_dev *aux);
333int snd_soc_component_init(struct snd_soc_component *component);330int snd_soc_component_init(struct snd_soc_component *component);
include/sound/soc.h+3−0
@@ -414,6 +414,9 @@ static inline int snd_soc_resume(struct device *dev) · 413 unmodified lines
414}414}
415#endif415#endif
416int snd_soc_poweroff(struct device *dev);416int snd_soc_poweroff(struct device *dev);
417int snd_soc_component_initialize(struct snd_soc_component *component,
418 const struct snd_soc_component_driver *driver,
419 struct device *dev, const char *name);
417int snd_soc_add_component(struct device *dev,420int snd_soc_add_component(struct device *dev,
418 struct snd_soc_component *component,421 struct snd_soc_component *component,
419 const struct snd_soc_component_driver *component_driver,422 const struct snd_soc_component_driver *component_driver,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t