forked from Minki/linux
14e42ceec8
This API was required for CLSA0100 laptop, which did not have correct properties inside ACPI. The required values are now hardcoded inside the driver so this is no longer needed. Without this api, there CLSA0100 can now use the generic cs35l41 fixup, like the other laptops. All other laptops will read the Speaker Position from ACPI and set the channel map from within the driver. Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com> Signed-off-by: Vitaly Rodionov <vitalyr@opensource.cirrus.com> Link: https://lore.kernel.org/r/20220509214703.4482-4-vitalyr@opensource.cirrus.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 lines
435 B
C
19 lines
435 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* HD audio Component Binding Interface
|
|
*
|
|
* Copyright (C) 2021 Cirrus Logic, Inc. and
|
|
* Cirrus Logic International Semiconductor Ltd.
|
|
*/
|
|
|
|
#include <linux/component.h>
|
|
|
|
#define HDA_MAX_COMPONENTS 4
|
|
#define HDA_MAX_NAME_SIZE 50
|
|
|
|
struct hda_component {
|
|
struct device *dev;
|
|
char name[HDA_MAX_NAME_SIZE];
|
|
void (*playback_hook)(struct device *dev, int action);
|
|
};
|