/* * * Copyright (c) 2003 by Karsten Wiese <annabellesgarden@yahoo.de> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ enum E_In84{ eFader0 = 0, eFader1, eFader2, eFader3, eFader4, eFader5, eFader6, eFader7, eFaderM, eTransport, eModifier = 10, eFilterSelect, eSelect, eMute, eSwitch = 15, eWheelGain, eWheelFreq, eWheelQ, eWheelPan, eWheel = 20 }; #define T_RECORD 1 #define T_PLAY 2 #define T_STOP 4 #define T_F_FWD 8 #define T_REW 0x10 #define T_SOLO 0x20 #define T_REC 0x40 #define T_NULL 0x80 struct us428_ctls { unsigned char Fader[9]; unsigned char Transport; unsigned char Modifier; unsigned char FilterSelect; unsigned char Select; unsigned char Mute; unsigned char UNKNOWN; unsigned char Switch; unsigned char Wheel[5]; }; struct us428_setByte { unsigned char Offset, Value; }; enum { eLT_Volume = 0, eLT_Light }; struct usX2Y_volume { unsigned char Channel, LH, LL, RH, RL; }; struct us428_lights { struct us428_setByte Light[7]; }; struct us428_p4out { char type; union { struct usX2Y_volume vol; struct us428_lights lights; } val; }; #define N_us428_ctl_BUFS 16 #define N_us428_p4out_BUFS 16 struct us428ctls_sharedmem{ struct us428_ctls CtlSnapShot[N_us428_ctl_BUFS]; int CtlSnapShotDiffersAt[N_us428_ctl_BUFS]; int CtlSnapShotLast, CtlSnapShotRed; struct us428_p4out p4out[N_us428_p4out_BUFS]; int p4outLast, p4outSent; }; ac0cc923f8aa2c37d790ec9ed'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/sound/soc/tegra/tegra_max98090.c'> <input type='hidden' name='id' value='1372cef1c697d8aac0cc923f8aa2c37d790ec9ed'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/commit/?id=1372cef1c697d8aac0cc923f8aa2c37d790ec9ed'>root</a>/<a href='/cgit.cgi/linux/net-next.git/commit/sound?id=1372cef1c697d8aac0cc923f8aa2c37d790ec9ed'>sound</a>/<a href='/cgit.cgi/linux/net-next.git/commit/sound/soc?id=1372cef1c697d8aac0cc923f8aa2c37d790ec9ed'>soc</a>/<a href='/cgit.cgi/linux/net-next.git/commit/sound/soc/tegra?id=1372cef1c697d8aac0cc923f8aa2c37d790ec9ed'>tegra</a>/<a href='/cgit.cgi/linux/net-next.git/commit/sound/soc/tegra/tegra_max98090.c?id=1372cef1c697d8aac0cc923f8aa2c37d790ec9ed'>tegra_max98090.c</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='id' value='1372cef1c697d8aac0cc923f8aa2c37d790ec9ed'/><table><tr><td colspan='2'/></tr><tr><td class='label'>context:</td><td class='ctrl'><select name='context' onchange='this.form.submit();'><option value='1'>1</option><option value='2'>2</option><option value='3' selected='selected'>3</option><option value='4'>4</option><option value='5'>5</option><option value='6'>6</option><option value='7'>7</option><option value='8'>8</option><option value='9'>9</option><option value='10'>10</option><option value='15'>15</option><option value='20'>20</option><option value='25'>25</option><option value='30'>30</option><option value='35'>35</option><option value='40'>40</option></select></td></tr><tr><td class='label'>space:</td><td class='ctrl'><select name='ignorews' onchange='this.form.submit();'><option value='0' selected='selected'>include</option><option value='1'>ignore</option></select></td></tr><tr><td class='label'>mode:</td><td class='ctrl'><select name='dt' onchange='this.form.submit();'><option value='0' selected='selected'>unified</option><option value='1'>ssdiff</option><option value='2'>stat only</option></select></td></tr><tr><td/><td class='ctrl'><noscript><input type='submit' value='reload'/></noscript></td></tr></table></form></div><table summary='commit info' class='commit-info'> <tr><th>author</th><td>Mark Rutland <mark.rutland@arm.com></td><td class='right'>2017-01-25 19:30:09 +0000</td></tr> <tr><th>committer</th><td>Mark Brown <broonie@kernel.org></td><td class='right'>2017-01-25 21:05:37 +0000</td></tr> <tr><th>commit</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/sound/soc/tegra/tegra_max98090.c?id=1372cef1c697d8aac0cc923f8aa2c37d790ec9ed'>1372cef1c697d8aac0cc923f8aa2c37d790ec9ed</a> (<a href='/cgit.cgi/linux/net-next.git/patch/sound/soc/tegra/tegra_max98090.c?id=1372cef1c697d8aac0cc923f8aa2c37d790ec9ed'>patch</a>)</td></tr> <tr><th>tree</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/tree/?id=1372cef1c697d8aac0cc923f8aa2c37d790ec9ed'>ed5f350cd559bc15ae370f0c9fd280204e98597d</a> /<a href='/cgit.cgi/linux/net-next.git/tree/sound/soc/tegra/tegra_max98090.c?id=1372cef1c697d8aac0cc923f8aa2c37d790ec9ed'>sound/soc/tegra/tegra_max98090.c</a></td></tr> <tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/sound/soc/tegra/tegra_max98090.c?id=d00b74613fb18dfd0a5aa99270ee2e72d5c808d7'>d00b74613fb18dfd0a5aa99270ee2e72d5c808d7</a> (<a href='/cgit.cgi/linux/net-next.git/diff/sound/soc/tegra/tegra_max98090.c?id=1372cef1c697d8aac0cc923f8aa2c37d790ec9ed&id2=d00b74613fb18dfd0a5aa99270ee2e72d5c808d7'>diff</a>)</td></tr></table> <div class='commit-subject'>regulator: fixed: Revert support for ACPI interface</div><div class='commit-msg'>This reverts commit 13bed58ce874 (regulator: fixed: add support for ACPI interface). While there does appear to be a practical need to manage regulators on ACPI systems, using ad-hoc properties to describe regulators to the kernel presents a number of problems (especially should ACPI gain first class support for such things), and there are ongoing discussions as to how to manage this. Until there is a rough consensus, revert commit 13bed58ce8748d43, which hasn't been in a released kernel yet as discussed in [1] and the surrounding thread. [1] http://lkml.kernel.org/r/20170125184949.x2wkoo7kbaaajkjk@sirena.org.uk Signed-off-by: Mark Rutland <mark.rutland@arm.com> Cc: Liam Girdwood <lgirdwood@gmail.com> Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Cc: Lu Baolu <baolu.lu@linux.intel.com> Cc: Mark Brown <broonie@kernel.org> Cc: Rafael J. Wysocki <rafael@kernel.org> Cc: linux-kernel@vger.kernel.org Signed-off-by: Mark Brown <broonie@kernel.org> </div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?id=1372cef1c697d8aac0cc923f8aa2c37d790ec9ed'>Diffstat</a> (limited to 'sound/soc/tegra/tegra_max98090.c')</div><table summary='diffstat' class='diffstat'>