linux/sound/pci/hda/cs35l41_hda_property.h
Stefan Binding ef4ba63f12 ALSA: hda: cs35l41: Support systems with missing _DSD properties
Some systems using CS35L41 with HDA were released without some
required _DSD properties in ACPI. To support these special cases,
add an api to configure the correct properties for systems with
this issue.

This initial commit moves the no _DSD support for Lenovo
Legion Laptops (CLSA0100, CLSA0101) into a new framework which
can be extended to support additional laptops in the future.

Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20230815161033.3519-1-sbinding@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2023-08-15 20:51:19 +02:00

19 lines
441 B
C

/* SPDX-License-Identifier: GPL-2.0
*
* CS35L41 ALSA HDA Property driver
*
* Copyright 2023 Cirrus Logic, Inc.
*
* Author: Stefan Binding <sbinding@opensource.cirrus.com>
*/
#ifndef CS35L41_HDA_PROP_H
#define CS35L41_HDA_PROP_H
#include <linux/device.h>
#include "cs35l41_hda.h"
int cs35l41_add_dsd_properties(struct cs35l41_hda *cs35l41, struct device *physdev, int id,
const char *hid);
#endif /* CS35L41_HDA_PROP_H */