diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/sh/rcar/rsnd.h | 2 | ||||
-rw-r--r-- | sound/soc/sh/rcar/ssi.c | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/sound/soc/sh/rcar/rsnd.h b/sound/soc/sh/rcar/rsnd.h index a14bc9274b3f..3774dfcfaf0f 100644 --- a/sound/soc/sh/rcar/rsnd.h +++ b/sound/soc/sh/rcar/rsnd.h | |||
@@ -40,7 +40,7 @@ enum rsnd_reg { | |||
40 | RSND_REG_SSI_MODE0, | 40 | RSND_REG_SSI_MODE0, |
41 | RSND_REG_SSI_MODE1, | 41 | RSND_REG_SSI_MODE1, |
42 | RSND_REG_BUSIF_MODE, | 42 | RSND_REG_BUSIF_MODE, |
43 | RSND_REG_INT_ENABLE, | 43 | RSND_REG_INT_ENABLE, /* for Gen2 */ |
44 | RSND_REG_SRC_ADINR, | 44 | RSND_REG_SRC_ADINR, |
45 | 45 | ||
46 | /* ADG */ | 46 | /* ADG */ |
diff --git a/sound/soc/sh/rcar/ssi.c b/sound/soc/sh/rcar/ssi.c index aff5b76d1fd5..01b5cf945d61 100644 --- a/sound/soc/sh/rcar/ssi.c +++ b/sound/soc/sh/rcar/ssi.c | |||
@@ -457,8 +457,9 @@ static int rsnd_ssi_pio_start(struct rsnd_mod *mod, | |||
457 | /* enable PIO IRQ */ | 457 | /* enable PIO IRQ */ |
458 | ssi->cr_etc = UIEN | OIEN | DIEN; | 458 | ssi->cr_etc = UIEN | OIEN | DIEN; |
459 | 459 | ||
460 | /* enable PIO interrupt */ | 460 | /* enable PIO interrupt if gen2 */ |
461 | rsnd_mod_write(&ssi->mod, INT_ENABLE, 0x0f000000); | 461 | if (rsnd_is_gen2(priv)) |
462 | rsnd_mod_write(&ssi->mod, INT_ENABLE, 0x0f000000); | ||
462 | 463 | ||
463 | rsnd_ssi_hw_start(ssi, rdai, io); | 464 | rsnd_ssi_hw_start(ssi, rdai, io); |
464 | 465 | ||