Skip to content

Commit

Permalink
Revert "sof: fix compilation on non X86 platforms"
Browse files Browse the repository at this point in the history
This reverts commit 41b8f5d and
fixes #113.

Signed-off-by: Guennadi Liakhovetski <[email protected]>
  • Loading branch information
lyakh authored and lgirdwood committed Sep 7, 2018
1 parent 9f93a3a commit 2170a56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/sof/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ int snd_sof_create_page_table(struct snd_sof_dev *sdev,
{
int i, pages;

pages = PAGE_ALIGN(size);
pages = snd_sgbuf_aligned_pages(size);

dev_dbg(sdev->dev, "generating page table for %p size 0x%zx pages %d\n",
dmab->area, size, pages);
Expand Down

0 comments on commit 2170a56

Please sign in to comment.