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 thesofproject#113.

Signed-off-by: Guennadi Liakhovetski <[email protected]>
  • Loading branch information
lyakh committed Sep 7, 2018
1 parent a351cfd commit d2c4d82
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 d2c4d82

Please sign in to comment.