Merge series "add channel constraint for BDW machine drivers" from Brent Lu <brent...
authorMark Brown <broonie@kernel.org>
Tue, 28 Apr 2020 15:40:37 +0000 (16:40 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 28 Apr 2020 15:40:37 +0000 (16:40 +0100)
commit433f9cba54fa92d78a1fd590d219aada44829588
tree86e129a519b572883ba86f1785cc1993433db76e
parentac3367442d9e5971e32014c6fea41ca1662c0e2d
parentad18763f46835b768714ac6de6dcf42384a261ca
Merge series "add channel constraint for BDW machine drivers" from Brent Lu <brent.lu@intel.com>:

The machine driver bdw-rt5650 (for Google buddy) supports 2 or 4-channel
recording while other two drivers support only 2-channel recording. HW
constraints are implemented to reflect the hardware limitation on BDW
platform.

Changes since v1:
- Change the patch title.
- Remove the DUAL_CHANNEL and QUAD_CHANNEL macros which are too obvious.
- Follow the naming convertion, using 'bdw_rt5650_' and 'bdw_rt5677_' to
  name startup functions.
- Refine the comments in startup functions.
- Redesign the bdw_rt5650_fe_startup() function for readability.
- Add an assignment to initialize runtime->hw.channels_max variable.

Brent Lu (3):
  ASoC: bdw-rt5677: add channel constraint
  ASoC: bdw-rt5650: add channel constraint
  ASoC: broadwell: add channel constraint

 sound/soc/intel/boards/bdw-rt5650.c | 29 +++++++++++++++++++++++++++++
 sound/soc/intel/boards/bdw-rt5677.c | 26 ++++++++++++++++++++++++++
 sound/soc/intel/boards/broadwell.c  | 26 ++++++++++++++++++++++++++
 3 files changed, 81 insertions(+)

--
2.7.4