Configure the jack-detect source through a device-property which can be set by code outside of the codec driver. Rather then putting platform specific DMI quirks inside the generic codec driver. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mark Brown <broonie@kernel.org>
26 lines
563 B
C
26 lines
563 B
C
/*
|
|
* linux/sound/rt286.h -- Platform data for RT286
|
|
*
|
|
* Copyright 2013 Realtek Microelectronics
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef __LINUX_SND_RT5651_H
|
|
#define __LINUX_SND_RT5651_H
|
|
|
|
/*
|
|
* Note these MUST match the values from the DT binding:
|
|
* Documentation/devicetree/bindings/sound/rt5651.txt
|
|
*/
|
|
enum rt5651_jd_src {
|
|
RT5651_JD_NULL,
|
|
RT5651_JD1_1,
|
|
RT5651_JD1_2,
|
|
RT5651_JD2,
|
|
};
|
|
|
|
#endif
|