1. 17 7月, 2020 1 次提交
  2. 15 7月, 2020 2 次提交
  3. 09 7月, 2020 1 次提交
  4. 07 7月, 2020 2 次提交
    • H
      ALSA: hda/hdmi: Add Intel silent stream support · 951894cf
      Harsha Priya 提交于
      External HDMI receivers have analog circuitry that needs to be powered-on
      when exiting standby, and a mechanism to detect PCM v. IEC61937 data.
      These two steps take time and up to 2-3 seconds of audio may be muted
      when starting playback.
      
      Intel hardware (Haswell and beyond) can keep the link active
      with a 'silent stream', so that the receiver does not go through those
      two steps when valid audio is transmitted. This mechanism relies
      on an setting the channel_id as 0xf, sending info packet and preventing
      the codec from going to D3,  which will increase the platform
      static power consumption. The info packet assumes a basic 2ch stereo,
      and the silent stream is enabled when connecting a monitor.
      In case of format changes the detection of PCM v. IEC61937 needs to
      be re-run. In this case there is no way to avoid the 2-3s mute.
      
      The silent stream is enabled with a Kconfig option, as well as a kernel
      parameter should there be a need to override the build time default.
      This approach is used based on the power_save capability as an example,
      but in the future, it may be used with a kcontrol,
      depending on UCM support for HDaudio legacy.
      Signed-off-by: NHarsha Priya <harshapriya.n@intel.com>
      Signed-off-by: NEmmanuel Jillela <emmanuel.jillela@intel.com>
      Reviewed-by: NKai Vehmanen <kai.vehmanen@linux.intel.com>
      Reported-by: Nkernel test robot <lkp@intel.com>
      Link: https://lore.kernel.org/r/1594068797-14011-1-git-send-email-harshapriya.n@intel.comSigned-off-by: NTakashi Iwai <tiwai@suse.de>
      951894cf
    • R
      ALSA: hda: fix SND_HDA_GENERIC kconfig & build · d7775871
      Randy Dunlap 提交于
      Fix kconfig warnings and lots of subsequent build errors by
      adding yet another ugly select statement:
      
      WARNING: unmet direct dependencies detected for LEDS_CLASS
        Depends on [n]: NEW_LEDS [=n]
        Selected by [y]:
        - SND_HDA_GENERIC [=y] && SOUND [=y] && !UML && SND [=y] && SND_HDA [=y] && SND_HDA_GENERIC_LEDS [=y]
      
      WARNING: unmet direct dependencies detected for LEDS_TRIGGERS
        Depends on [n]: NEW_LEDS [=n] && LEDS_CLASS [=y]
        Selected by [y]:
        - SND_HDA_GENERIC [=y] && SOUND [=y] && !UML && SND [=y] && SND_HDA [=y] && SND_HDA_GENERIC_LEDS [=y]
        Selected by [m]:
        - MAC80211_LEDS [=y] && NET [=y] && WIRELESS [=y] && MAC80211 [=m] && LEDS_CLASS [=y]
        - IWLWIFI_LEDS [=y] && NETDEVICES [=y] && WLAN [=y] && WLAN_VENDOR_INTEL [=y] && IWLWIFI [=m] && (LEDS_CLASS [=y]=y || LEDS_CLASS [=y]=IWLWIFI [=m]) && (IWLMVM [=m] || IWLDVM [=m])
      
      WARNING: unmet direct dependencies detected for LEDS_TRIGGER_AUDIO
        Depends on [n]: NEW_LEDS [=n] && LEDS_TRIGGERS [=y]
        Selected by [y]:
        - SND_HDA_GENERIC [=y] && SOUND [=y] && !UML && SND [=y] && SND_HDA [=y] && SND_HDA_GENERIC_LEDS [=y]
      
      Fixes: 7cdf8c49 ("ALSA: hda: generic: Add a helper for mic-mute LED with LED classdev")
      Signed-off-by: NRandy Dunlap <rdunlap@infradead.org>
      Link: https://lore.kernel.org/r/01233744-9625-38b3-0342-1b37250dbc72@infradead.orgSigned-off-by: NTakashi Iwai <tiwai@suse.de>
      d7775871
  5. 19 6月, 2020 1 次提交
  6. 18 6月, 2020 13 次提交
  7. 12 6月, 2020 1 次提交
  8. 10 6月, 2020 2 次提交
    • M
      mm: reorder includes after introduction of linux/pgtable.h · 65fddcfc
      Mike Rapoport 提交于
      The replacement of <asm/pgrable.h> with <linux/pgtable.h> made the include
      of the latter in the middle of asm includes.  Fix this up with the aid of
      the below script and manual adjustments here and there.
      
      	import sys
      	import re
      
      	if len(sys.argv) is not 3:
      	    print "USAGE: %s <file> <header>" % (sys.argv[0])
      	    sys.exit(1)
      
      	hdr_to_move="#include <linux/%s>" % sys.argv[2]
      	moved = False
      	in_hdrs = False
      
      	with open(sys.argv[1], "r") as f:
      	    lines = f.readlines()
      	    for _line in lines:
      		line = _line.rstrip('
      ')
      		if line == hdr_to_move:
      		    continue
      		if line.startswith("#include <linux/"):
      		    in_hdrs = True
      		elif not moved and in_hdrs:
      		    moved = True
      		    print hdr_to_move
      		print line
      Signed-off-by: NMike Rapoport <rppt@linux.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Borislav Petkov <bp@alien8.de>
      Cc: Brian Cain <bcain@codeaurora.org>
      Cc: Catalin Marinas <catalin.marinas@arm.com>
      Cc: Chris Zankel <chris@zankel.net>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Greentime Hu <green.hu@gmail.com>
      Cc: Greg Ungerer <gerg@linux-m68k.org>
      Cc: Guan Xuetao <gxt@pku.edu.cn>
      Cc: Guo Ren <guoren@kernel.org>
      Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
      Cc: Helge Deller <deller@gmx.de>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Ley Foon Tan <ley.foon.tan@intel.com>
      Cc: Mark Salter <msalter@redhat.com>
      Cc: Matthew Wilcox <willy@infradead.org>
      Cc: Matt Turner <mattst88@gmail.com>
      Cc: Max Filippov <jcmvbkbc@gmail.com>
      Cc: Michael Ellerman <mpe@ellerman.id.au>
      Cc: Michal Simek <monstr@monstr.eu>
      Cc: Nick Hu <nickhu@andestech.com>
      Cc: Paul Walmsley <paul.walmsley@sifive.com>
      Cc: Richard Weinberger <richard@nod.at>
      Cc: Rich Felker <dalias@libc.org>
      Cc: Russell King <linux@armlinux.org.uk>
      Cc: Stafford Horne <shorne@gmail.com>
      Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Tony Luck <tony.luck@intel.com>
      Cc: Vincent Chen <deanbo422@gmail.com>
      Cc: Vineet Gupta <vgupta@synopsys.com>
      Cc: Will Deacon <will@kernel.org>
      Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
      Link: http://lkml.kernel.org/r/20200514170327.31389-4-rppt@kernel.orgSigned-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      65fddcfc
    • M
      mm: introduce include/linux/pgtable.h · ca5999fd
      Mike Rapoport 提交于
      The include/linux/pgtable.h is going to be the home of generic page table
      manipulation functions.
      
      Start with moving asm-generic/pgtable.h to include/linux/pgtable.h and
      make the latter include asm/pgtable.h.
      Signed-off-by: NMike Rapoport <rppt@linux.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Borislav Petkov <bp@alien8.de>
      Cc: Brian Cain <bcain@codeaurora.org>
      Cc: Catalin Marinas <catalin.marinas@arm.com>
      Cc: Chris Zankel <chris@zankel.net>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Greentime Hu <green.hu@gmail.com>
      Cc: Greg Ungerer <gerg@linux-m68k.org>
      Cc: Guan Xuetao <gxt@pku.edu.cn>
      Cc: Guo Ren <guoren@kernel.org>
      Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
      Cc: Helge Deller <deller@gmx.de>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Ley Foon Tan <ley.foon.tan@intel.com>
      Cc: Mark Salter <msalter@redhat.com>
      Cc: Matthew Wilcox <willy@infradead.org>
      Cc: Matt Turner <mattst88@gmail.com>
      Cc: Max Filippov <jcmvbkbc@gmail.com>
      Cc: Michael Ellerman <mpe@ellerman.id.au>
      Cc: Michal Simek <monstr@monstr.eu>
      Cc: Nick Hu <nickhu@andestech.com>
      Cc: Paul Walmsley <paul.walmsley@sifive.com>
      Cc: Richard Weinberger <richard@nod.at>
      Cc: Rich Felker <dalias@libc.org>
      Cc: Russell King <linux@armlinux.org.uk>
      Cc: Stafford Horne <shorne@gmail.com>
      Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Tony Luck <tony.luck@intel.com>
      Cc: Vincent Chen <deanbo422@gmail.com>
      Cc: Vineet Gupta <vgupta@synopsys.com>
      Cc: Will Deacon <will@kernel.org>
      Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
      Link: http://lkml.kernel.org/r/20200514170327.31389-3-rppt@kernel.orgSigned-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      ca5999fd
  9. 08 6月, 2020 1 次提交
  10. 03 6月, 2020 1 次提交
  11. 27 5月, 2020 1 次提交
  12. 26 5月, 2020 1 次提交
    • T
      ALSA: hda/realtek - Add a model for Thinkpad T570 without DAC workaround · 399c01aa
      Takashi Iwai 提交于
      We fixed the regression of the speaker volume for some Thinkpad models
      (e.g. T570) by the commit 54947cd6 ("ALSA: hda/realtek - Fix
      speaker output regression on Thinkpad T570").  Essentially it fixes
      the DAC / pin pairing by a static table.  It was confirmed and merged
      to stable kernel later.
      
      Now, interestingly, we got another regression report for the very same
      model (T570) about the similar problem, and the commit above was the
      culprit.  That is, by some reason, there are devices that prefer the
      DAC1, and another device DAC2!
      
      Unfortunately those have the same ID and we have no idea what can
      differentiate, in this patch, a new fixup model "tpt470-dock-fix" is
      provided, so that users with such a machine can apply it manually.
      When model=tpt470-dock-fix option is passed to snd-hda-intel module,
      it avoids the fixed DAC pairing and the DAC1 is assigned to the
      speaker like the earlier versions.
      
      Fixes: 54947cd6 ("ALSA: hda/realtek - Fix speaker output regression on Thinkpad T570")
      BugLink: https://apibugzilla.suse.com/show_bug.cgi?id=1172017
      Cc: <stable@vger.kernel.org>
      Link: https://lore.kernel.org/r/20200526062406.9799-1-tiwai@suse.deSigned-off-by: NTakashi Iwai <tiwai@suse.de>
      399c01aa
  13. 19 5月, 2020 1 次提交
  14. 18 5月, 2020 1 次提交
  15. 15 5月, 2020 1 次提交
  16. 12 5月, 2020 4 次提交
  17. 10 5月, 2020 1 次提交
  18. 05 5月, 2020 1 次提交
  19. 04 5月, 2020 4 次提交