]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: ipc: replace fw ready bitfield with explicit bit ordering
authorSlawomir Blauciak <slawomir.blauciak@linux.intel.com>
Mon, 3 Jun 2019 16:20:32 +0000 (11:20 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 3 Jun 2019 16:42:50 +0000 (17:42 +0100)
commit4897757b7bfdaa319bf031b603ca4751068118a2
tree5ade08993252379907be43b8a92646ee2cb744ab
parentd7aeee3e24a362fd2ba63ae68ec3f2d2101dc75e
ASoC: SOF: ipc: replace fw ready bitfield with explicit bit ordering

Previously the structure used bitfields, which do not guarantee bit
ordering.

This change makes sure the order is clearly defined.  It also renames
and repurposes the field for general use.

Signed-off-by: Slawomir Blauciak <slawomir.blauciak@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/sof/info.h
sound/soc/sof/ipc.c