mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
soundwire: sdw.h: fix PRBS/Static_1 swapped definitions
Table 110 "Port Data Modes" of the SoundWire 1.2 specification lists PRBS as b01 and Static_1 as b11. The existing headers swapped the two values, fix. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> Reviewed-by: Rander Wang <rander.wang@linux.intel.com> Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://lore.kernel.org/r/20200714213744.24674-2-yung-chuan.liao@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
parent
9cb834b17c
commit
a8209dd42a
1 changed files with 6 additions and 6 deletions
|
@ -152,19 +152,19 @@ enum sdw_data_direction {
|
|||
*
|
||||
* @SDW_PORT_DATA_MODE_NORMAL: Normal data mode where audio data is received
|
||||
* and transmitted.
|
||||
* @SDW_PORT_DATA_MODE_PRBS: Test mode which uses a PRBS generator to produce
|
||||
* a pseudo random data pattern that is transferred
|
||||
* @SDW_PORT_DATA_MODE_STATIC_0: Simple test mode which uses static value of
|
||||
* logic 0. The encoding will result in no signal transitions
|
||||
* @SDW_PORT_DATA_MODE_STATIC_1: Simple test mode which uses static value of
|
||||
* logic 1. The encoding will result in signal transitions at every bitslot
|
||||
* owned by this Port
|
||||
* @SDW_PORT_DATA_MODE_STATIC_0: Simple test mode which uses static value of
|
||||
* logic 0. The encoding will result in no signal transitions
|
||||
* @SDW_PORT_DATA_MODE_PRBS: Test mode which uses a PRBS generator to produce
|
||||
* a pseudo random data pattern that is transferred
|
||||
*/
|
||||
enum sdw_port_data_mode {
|
||||
SDW_PORT_DATA_MODE_NORMAL = 0,
|
||||
SDW_PORT_DATA_MODE_STATIC_1 = 1,
|
||||
SDW_PORT_DATA_MODE_PRBS = 1,
|
||||
SDW_PORT_DATA_MODE_STATIC_0 = 2,
|
||||
SDW_PORT_DATA_MODE_PRBS = 3,
|
||||
SDW_PORT_DATA_MODE_STATIC_1 = 3,
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue