mirror of https://github.com/thesofproject/sof.git
ssp: remove unused loopback mode method
Signed-off-by: Emil Chudzik <emil.chudzik@intel.com>
This commit is contained in:
parent
33617197ac
commit
c2f035a73b
|
@ -482,19 +482,6 @@ out:
|
|||
return ret;
|
||||
}
|
||||
|
||||
/* Digital Audio interface formatting */
|
||||
static inline int ssp_set_loopback_mode(struct dai *dai, uint32_t lbm)
|
||||
{
|
||||
trace_ssp("ssp_set_loopback_mode()");
|
||||
spin_lock(&dai->lock);
|
||||
|
||||
ssp_update_bits(dai, SSCR1, SSCR1_LBM, lbm ? SSCR1_LBM : 0);
|
||||
|
||||
spin_unlock(&dai->lock);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* start the SSP for either playback or capture */
|
||||
static void ssp_start(struct dai *dai, int direction)
|
||||
{
|
||||
|
@ -648,5 +635,4 @@ const struct dai_ops ssp_ops = {
|
|||
.pm_context_store = ssp_context_store,
|
||||
.pm_context_restore = ssp_context_restore,
|
||||
.probe = ssp_probe,
|
||||
.set_loopback_mode = ssp_set_loopback_mode,
|
||||
};
|
||||
|
|
|
@ -787,19 +787,6 @@ out:
|
|||
return ret;
|
||||
}
|
||||
|
||||
/* Digital Audio interface formatting */
|
||||
static inline int ssp_set_loopback_mode(struct dai *dai, uint32_t lbm)
|
||||
{
|
||||
trace_ssp("ssp_set_loopback_mode()");
|
||||
spin_lock(&dai->lock);
|
||||
|
||||
ssp_update_bits(dai, SSCR1, SSCR1_LBM, lbm ? SSCR1_LBM : 0);
|
||||
|
||||
spin_unlock(&dai->lock);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* start the SSP for either playback or capture */
|
||||
static void ssp_start(struct dai *dai, int direction)
|
||||
{
|
||||
|
@ -975,5 +962,4 @@ const struct dai_ops ssp_ops = {
|
|||
.pm_context_restore = ssp_context_restore,
|
||||
.probe = ssp_probe,
|
||||
.remove = ssp_remove,
|
||||
.set_loopback_mode = ssp_set_loopback_mode,
|
||||
};
|
||||
|
|
|
@ -376,19 +376,6 @@ out:
|
|||
return ret;
|
||||
}
|
||||
|
||||
/* Digital Audio interface formatting */
|
||||
static inline int ssp_set_loopback_mode(struct dai *dai, uint32_t lbm)
|
||||
{
|
||||
trace_ssp("ssp_set_loopback_mode()");
|
||||
spin_lock(&dai->lock);
|
||||
|
||||
ssp_update_bits(dai, SSCR1, SSCR1_LBM, lbm ? SSCR1_LBM : 0);
|
||||
|
||||
spin_unlock(&dai->lock);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* start the SSP for either playback or capture */
|
||||
static void ssp_start(struct dai *dai, int direction)
|
||||
{
|
||||
|
@ -538,5 +525,4 @@ const struct dai_ops ssp_ops = {
|
|||
.pm_context_store = ssp_context_store,
|
||||
.pm_context_restore = ssp_context_restore,
|
||||
.probe = ssp_probe,
|
||||
.set_loopback_mode = ssp_set_loopback_mode,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue