fsl_mqs.c (93fbff1197474d7b65e598c6f48fa82a5c334539) | fsl_mqs.c (1faa6f8274e2b08a38c0cca74113dfb26c6ad7b7) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2// 3// ALSA SoC IMX MQS driver 4// 5// Copyright (C) 2014-2015 Freescale Semiconductor, Inc. 6// Copyright 2019 NXP 7 8#include <linux/clk.h> --- 108 unchanged lines hidden (view full) --- 117 switch (fmt & SND_SOC_DAIFMT_INV_MASK) { 118 case SND_SOC_DAIFMT_NB_NF: 119 break; 120 default: 121 return -EINVAL; 122 } 123 124 switch (fmt & SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) { | 1// SPDX-License-Identifier: GPL-2.0 2// 3// ALSA SoC IMX MQS driver 4// 5// Copyright (C) 2014-2015 Freescale Semiconductor, Inc. 6// Copyright 2019 NXP 7 8#include <linux/clk.h> --- 108 unchanged lines hidden (view full) --- 117 switch (fmt & SND_SOC_DAIFMT_INV_MASK) { 118 case SND_SOC_DAIFMT_NB_NF: 119 break; 120 default: 121 return -EINVAL; 122 } 123 124 switch (fmt & SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) { |
125 case SND_SOC_DAIFMT_BP_FP: | 125 case SND_SOC_DAIFMT_CBC_CFC: |
126 break; 127 default: 128 return -EINVAL; 129 } 130 131 return 0; 132} 133 --- 243 unchanged lines hidden --- | 126 break; 127 default: 128 return -EINVAL; 129 } 130 131 return 0; 132} 133 --- 243 unchanged lines hidden --- |