Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixup: SoundWire: start adding BPT/BRA support #5305

Merged
merged 3 commits into from
Jan 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Documentation/driver-api/soundwire/bra.rst
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ This model is not required BRA support:
that stream can connect master ports as well as all peripheral
DP0 ports.

(5) BRA transfers only make sense in the concept of one
(5) BRA transfers only make sense in the context of one
Manager/Link, so the BRA stream handling does not rely on the
concept of multi-link aggregation allowed by regular DAI links.

Expand Down
2 changes: 1 addition & 1 deletion drivers/soundwire/debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ static int cmd_go(void *data, u64 value)
pm_runtime_mark_last_busy(&slave->dev);
pm_runtime_put(&slave->dev);

dev_dbg(&slave->dev, "command completed, num_byte %ld status %d, time %lld ms\n",
dev_dbg(&slave->dev, "command completed, num_byte %zu status %d, time %lld ms\n",
num_bytes, ret, div_u64(finish_t - start_t, NSEC_PER_MSEC));

return ret;
Expand Down
2 changes: 1 addition & 1 deletion sound/soc/sof/intel/hda-sdw-bpt.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "../ipc4-priv.h"
#include "hda.h"

#define BPT_FREQUENCY 192000
#define BPT_FREQUENCY 192000 /* The max rate defined in rate_bits[] hdac_device.c */
#define BPT_MULTIPLIER ((BPT_FREQUENCY / 48000) - 1)
#define BPT_CHAIN_DMA_FIFO_MS 10
/*
Expand Down
Loading