Skip to content

Topic/sof dev cleanup1 - #14

Merged
lgirdwood merged 7 commits into
thesofproject:topic/sof-devfrom
lgirdwood:topic/sof-dev-cleanup1
Jul 5, 2018
Merged

lgirdwood merged 7 commits into
thesofproject:topic/sof-devfrom
lgirdwood:topic/sof-dev-cleanup1

Conversation

@lgirdwood

Copy link
Copy Markdown
Member

Cleanup of code for upstreaming, some function reorg to group functions by feature and commets added to some code blocks.
Separated into multiple patches for easier squashing.

@lgirdwood
lgirdwood requested a review from plbossart July 2, 2018 14:59

ghost left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you fix the checkpatch reports? Thanks!

Comment thread sound/soc/sof/ipc.c Outdated

ghost Jul 2, 2018

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

checkpatch issues:
WARNING: 'mesage' may be misspelled - perhaps 'message'?
#92: FILE: sound/soc/sof/ipc.c:158:

  • /* add mesage to transmit list */

WARNING: 'mesage' may be misspelled - perhaps 'message'?
#113: FILE: sound/soc/sof/ipc.c:182:

  • /* send message if HW read and mesage in TX list */

CHECK: Please don't use multiple blank lines
#267: FILE: sound/soc/sof/ipc.c:366:
+
+

WARNING: 'postion' may be misspelled - perhaps 'position'?
#453: FILE: sound/soc/sof/ipc.c:478:
+/* get stream postion IPC - use faster MMIO method if available on platform */

@lgirdwood
lgirdwood force-pushed the topic/sof-dev-cleanup1 branch from 8f60185 to 0dcb3bf Compare July 3, 2018 13:10
@lgirdwood

ghost commented Jul 3, 2018

Copy link
Copy Markdown
Member Author

Checkpatch done, I'll be doing sparse as a separate PR

ghost left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

additional comment for cleanup:

This doesn't seem to be used?

config SND_SOC_SOF_PLATFORM
tristate
snd-sof-platform-objs := sof-platform-dev.o
obj-$(SND_SOC_SOF_PLATFORM) += sof-platform-dev.o

Comment thread sound/soc/sof/core.c Outdated

ghost Jul 3, 2018

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this going to work for topic/sof-v4.14?

ghost Jul 5, 2018

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gah, part of the post 4.18+ component API updates. Will revert for 4.14.

Comment thread sound/soc/sof/ipc.c Outdated

ghost Jul 3, 2018

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we make this a Kconfig option?

ghost Jul 5, 2018

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, and also created a debug option submenu where stuff like this can go

Liam Girdwood added 7 commits July 5, 2018 16:53
Add comments describing funcs/code blocks and reorder funcs so features
are grouped.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add comments describing funcs/code blocks and reorder funcs so features
are grouped.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add comments describing funcs/code blocks and reorder funcs so features
are grouped.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add comments describing funcs/code blocks and reorder funcs so features
are grouped.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add comments describing funcs/code blocks and reorder funcs so features
are grouped.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
…er funcs

Add comments describing funcs/code blocks and reorder funcs so features
are grouped.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
@lgirdwood
lgirdwood force-pushed the topic/sof-dev-cleanup1 branch from f34344c to b66e8ef Compare July 5, 2018 19:15
@lgirdwood
lgirdwood merged commit 8ab299b into thesofproject:topic/sof-dev Jul 5, 2018
@tokyovigilante tokyovigilante mentioned this pull request Nov 8, 2019
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.

3 participants