Skip to content

Commit cf1cca1

Browse files
committed
soundwire: change the max bra data size per frame value
According to mipi SoundWire DisCo Specification_v2-1, this maximum value shall not exceed 470. Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
1 parent 34a47bf commit cf1cca1

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

  • include/linux/soundwire

include/linux/soundwire/sdw.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -835,11 +835,10 @@ struct sdw_defer {
835835
};
836836

837837
/*
838-
* Add a practical limit to BPT transfer sizes. BPT is typically used
839-
* to transfer firmware, and larger firmware transfers will increase
840-
* the cold latency beyond typical OS or user requirements.
838+
* According to mipi SoundWire DisCo Specification_v2-1,
839+
* this maximum value shall not exceed 470.
841840
*/
842-
#define SDW_BPT_MSG_MAX_BYTES (1024 * 1024)
841+
#define SDW_BPT_MSG_MAX_BYTES 470
843842

844843
struct sdw_bpt_msg;
845844

0 commit comments

Comments
 (0)