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/sof hda split #300

Merged
merged 6 commits into from
Nov 17, 2018
Merged

Conversation

plbossart
Copy link
Member

This PR cleans up and extends initial contributions from #257

I will merge it without reviews so that we have all the known improvements for HDaudio in topic/sof-dev. we are taking too much time to make progress on such cleanups.

Most inits can be conditionally included. the bus->reg_lock spinlock
is required in all cases.

TODO: remove the static variable (unclear why it's needed)

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
…ined

Make bus and hlink variables conditionally declared

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
This code isn't tested, let's remove it and re-add later if needed

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Make rb conditional on SOF_HDA and add missing free on release.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Use static inlines to make code simpler.  i915 is only enabled/used
when both SOF_HDA and SOC_HDAC_HDMI are used.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
-Wunused-variable should be an error

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant