/* * wm8350.h - WM8903 audio codec interface * * Copyright 2008 Wolfson Microelectronics PLC. * * 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. */ #ifndef _WM8350_H #define _WM8350_H #include #include enum wm8350_jack { WM8350_JDL = 1, WM8350_JDR = 2, }; int wm8350_hp_jack_detect(struct snd_soc_codec *codec, enum wm8350_jack which, struct snd_soc_jack *jack, int report); int wm8350_mic_jack_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack, int detect_report, int short_report); #endif nux/net-next.git/'>net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
/option>
AgeCommit message (Expand)AuthorFilesLines
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2016-10-05 18:18:15 +0100
committerRalf Baechle <ralf@linux-mips.org>2016-10-06 18:01:45 +0200
commitcfa93fb9c2eae805f2c16d72bad04ca49b6e16d2 (patch)
tree49fd4fe0ee0eac879ddd62cde0a020f42ef03cd3
parentf23020230e682a43cc4706cabb041bba469df2d6 (diff)
MIPS: dma-default: Don't check hw_coherentio if device is non-coherent
There are no cases where plat_device_is_coherent() will return zero whilst hw_coherentio is non-zero, and acting any differently in such a case doesn't make much sense - if a device is non-coherent with the CPU caches then access to memory "coherent" with DMA must be uncached. Clean up the nonsensical case. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/14348/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>