|
@@ -306,7 +306,7 @@ u32 rsnd_get_adinr_bit(struct rsnd_mod *mod, struct rsnd_dai_stream *io)
|
|
|
*/
|
|
|
u32 rsnd_get_dalign(struct rsnd_mod *mod, struct rsnd_dai_stream *io)
|
|
|
{
|
|
|
- struct rsnd_mod *ssi = rsnd_io_to_mod_ssi(io);
|
|
|
+ struct rsnd_mod *ssiu = rsnd_io_to_mod_ssiu(io);
|
|
|
struct rsnd_mod *target;
|
|
|
struct snd_pcm_runtime *runtime = rsnd_io_to_runtime(io);
|
|
|
u32 val = 0x76543210;
|
|
@@ -315,11 +315,11 @@ u32 rsnd_get_dalign(struct rsnd_mod *mod, struct rsnd_dai_stream *io)
|
|
|
if (rsnd_io_is_play(io)) {
|
|
|
struct rsnd_mod *src = rsnd_io_to_mod_src(io);
|
|
|
|
|
|
- target = src ? src : ssi;
|
|
|
+ target = src ? src : ssiu;
|
|
|
} else {
|
|
|
struct rsnd_mod *cmd = rsnd_io_to_mod_cmd(io);
|
|
|
|
|
|
- target = cmd ? cmd : ssi;
|
|
|
+ target = cmd ? cmd : ssiu;
|
|
|
}
|
|
|
|
|
|
mask <<= runtime->channels * 4;
|