]> 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)
commit715eec0a1c319782bc5c217c496047e26dcf7d7d
tree5ade08993252379907be43b8a92646ee2cb744ab
parent74b079cdbc2bae3ec5ffdbbb9b03f8ff8071225a
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