[Sound-open-firmware] [PATCH] ssp: add handle for default clk type
Add default clk type SSP_CLK_DEFAULT and the handle for it
Signed-off-by: Keyon Jie yang.jie@linux.intel.com --- src/drivers/ssp.c | 2 ++ src/include/reef/ssp.h | 1 + 2 files changed, 3 insertions(+)
diff --git a/src/drivers/ssp.c b/src/drivers/ssp.c index b22e06d..c0d4ef3 100644 --- a/src/drivers/ssp.c +++ b/src/drivers/ssp.c @@ -101,6 +101,8 @@ static inline int ssp_set_config(struct dai *dai, struct dai_config *dai_config) case DAI_FMT_CBS_CFM: sscr1 |= SSCR1_SCLKDIR | SSCR1_SFRMDIR | SSCR1_SCFR; break; + case SSP_CLK_DEFAULT: + break; default: return -EINVAL; } diff --git a/src/include/reef/ssp.h b/src/include/reef/ssp.h index b1c1afd..b1f370b 100644 --- a/src/include/reef/ssp.h +++ b/src/include/reef/ssp.h @@ -42,6 +42,7 @@ #define SSP_CLK_NET_PLL 1 #define SSP_CLK_EXT 2 #define SSP_CLK_NET 3 +#define SSP_CLK_DEFAULT 4
/* SSP register offsets */ #define SSCR0 0x00
On Thu, 2017-03-09 at 14:11 +0800, Keyon Jie wrote:
Add default clk type SSP_CLK_DEFAULT and the handle for it
Signed-off-by: Keyon Jie yang.jie@linux.intel.com
Applied.
Thanks
Liam
participants (2)
-
Keyon Jie
-
Liam Girdwood