/* Get srp status(opened/running) infomation */ static inline int srp_active(struct i2s_dai *i2s, int cmd) { #if defined(CONFIG_SND_SAMSUNG_RP) || defined(CONFIG_SND_SAMSUNG_ALP) return srp_get_status(cmd); #else return 0; #endif }
/* Get srp status(opened/running) information */ static inline int srp_active(struct i2s_dai *i2s, int cmd) { #if defined(CONFIG_SND_SAMSUNG_RP) || defined(CONFIG_SND_SAMSUNG_ALP) if ((i2s->pdev->id == 0) || (i2s->pdev->id == SAMSUNG_I2S_SECOFF)) return srp_get_status(cmd); else return 0; #else return 0; #endif }