11 Jan, 2012

1 commit

  • When multiple headphone or other detectable output pins are present,
    the power-map has to be updated after resume appropriately, but the
    current driver doesn't check all pins but only the first pin (since
    it's enough to check it for the mute-behavior). This resulted in the
    silent output from the secondary outputs after PM resume.

    This patch fixes the problem by checking all pins at (re-)init time.

    Bugzilla: https://bugzilla.novell.com/show_bug.cgi?id=740347

    Cc:
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

20 Dec, 2011

2 commits


14 Dec, 2011

1 commit


13 Dec, 2011

2 commits


06 Dec, 2011

3 commits


02 Dec, 2011

1 commit

  • Instead of managing input-jack stuff separately, call all stuff inside
    the kctl-jack creation, deletion and report. The caller no longer needs
    to care about input-jack.

    The better integration between input-jack and kctl-jack should be done
    in the upper layer in near future, but for now, it's implemented locally
    for more tests.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

01 Dec, 2011

1 commit

  • The verb command in stac92xx_post_suspend caused the audio to stop
    working after resuming from S3 mode on HP laptops with the VREF-pin
    mute-LED control. Removing relevant post_suspend registering.

    Although removing D3 on AFG is no optimal solution, the impact should
    be small in comparison with the broken S3/S4.

    Signed-off-by: Charles Chin
    Cc:
    Signed-off-by: Takashi Iwai

    Charles Chin
     

29 Nov, 2011

1 commit


19 Nov, 2011

1 commit


16 Nov, 2011

6 commits

  • The function now gives more unique names for the output pins by adding
    some prefix and suffix for the location and the channels. Otherwise, it
    can pass the index number.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • We can use the very same table in hda_jack.c for managing the list for
    input-jack elements, too.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • Manage the tags assigned for unsolicited events dynamically together
    with the jack-detection routines. Basically this is almost same as what
    we've done in patch_sigmatel.c. Assign the new tag number for each new
    unsol event, associate with the given NID and the action type, etc.

    With this change, now all pins looked over in snd_hda_jack_add_kctls()
    are actually enabled for detection now even if the pins aren't used for
    jack-retasking by the driver.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • Create kcontrols for pin jack-detections, which work similarly like
    jack-input layer. Each control will notify when the jack is plugged or
    unplugged, and also user can read the value at any time via the normal
    control API.

    The control elements are created with iface=CARD, so that they won't
    appear in the mixer apps.

    So far, only the pins that enabled the jack-detection are registered.
    For covering all pins, the transition of the common unsol-tag handling
    would be needed. Stay tuned.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • Introduce a table containing the pins and their jack-detection states
    for avoiding the unnecessary verbs to check the pin status at each time.

    When the unsol event is enabled via snd_hda_jack_detect_enable(), it
    automatically adds the given NID to the table. Then the driver supposes
    that the codec driver will set the dirty flag appropariately when an
    unsolicited event is invoked for that pin.

    The behavior for reading other pins that aren't registered in the table
    doesn't change. Only the pins assigned to the table are cached, so far.

    In near futre, this table can be extended to use the central place for
    the unsolicited events of all pins, etc, and eventually include the
    jack-detect kcontrols that replace the current input-jack stuff.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • Create a new helper function snd_hda_get_pin_label() for getting a label
    string for both input and output pins. hda_get_input_pin_label() is
    obsoleted by this function, and the callers are replaced appropriately
    now by this patch.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

11 Nov, 2011

1 commit

  • Clean up and fix pwr_nids for 92HD71 / 73 / 83 family codecs; remove
    pwr_mapping which was incorrect.

    The original pwr_nids support of 92HD83xxx was incorrect and never
    actually worked before. Now we should have things working correctly
    without having to hack by DID anymore.

    It is also not necessary to explicitly turn on all the pins near the
    beginning of patch_stac92hd83xxx() now, the pins will go though
    initialization properly.

    Tested on 92HD66 / 71 / 73 / 75 / 83 / 89 / 91 demo boards.

    Signed-off-by: Charles Chin
    Signed-off-by: Takashi Iwai

    Charles Chin
     

09 Nov, 2011

1 commit


07 Nov, 2011

1 commit

  • * 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux: (230 commits)
    Revert "tracing: Include module.h in define_trace.h"
    irq: don't put module.h into irq.h for tracking irqgen modules.
    bluetooth: macroize two small inlines to avoid module.h
    ip_vs.h: fix implicit use of module_get/module_put from module.h
    nf_conntrack.h: fix up fallout from implicit moduleparam.h presence
    include: replace linux/module.h with "struct module" wherever possible
    include: convert various register fcns to macros to avoid include chaining
    crypto.h: remove unused crypto_tfm_alg_modname() inline
    uwb.h: fix implicit use of asm/page.h for PAGE_SIZE
    pm_runtime.h: explicitly requires notifier.h
    linux/dmaengine.h: fix implicit use of bitmap.h and asm/page.h
    miscdevice.h: fix up implicit use of lists and types
    stop_machine.h: fix implicit use of smp.h for smp_processor_id
    of: fix implicit use of errno.h in include/linux/of.h
    of_platform.h: delete needless include
    acpi: remove module.h include from platform/aclinux.h
    miscdevice.h: delete unnecessary inclusion of module.h
    device_cgroup.h: delete needless include
    net: sch_generic remove redundant use of
    net: inet_timewait_sock doesnt need
    ...

    Fix up trivial conflicts (other header files, and removal of the ab3550 mfd driver) in
    - drivers/media/dvb/frontends/dibx000_common.c
    - drivers/media/video/{mt9m111.c,ov6650.c}
    - drivers/mfd/ab3550-core.c
    - include/linux/dmaengine.h

    Linus Torvalds
     

03 Nov, 2011

1 commit


02 Nov, 2011

2 commits


01 Nov, 2011

1 commit


13 Oct, 2011

1 commit

  • The purpose of this patch is to remove a section of "bad" code that
    assigns the last DAC to ports E or F in order to support notebooks
    with docking in earlier days, around ALSA 1.0.19 - 21. This is not
    necessary now and actually breaks some configurations that use these
    ports as other devices. This have been tested on several different
    configurations to make sure that it is working for different combinations.

    Signed-off-by: Charles Chin
    Cc:
    Signed-off-by: Takashi Iwai

    Charles Chin
     

05 Oct, 2011

1 commit


03 Oct, 2011

1 commit


24 Sep, 2011

1 commit


20 Sep, 2011

1 commit


10 Aug, 2011

1 commit


27 Jul, 2011

1 commit


26 Jul, 2011

3 commits


24 Jul, 2011

1 commit


29 Jun, 2011

1 commit


06 Jun, 2011

1 commit

  • The SPDIF output controls apply to converter widgets. A future change
    will create a PCM device per pin widget, and hence a set of SPDIF output
    controls per pin widget, for certain HDMI codecs. To support this, we
    need the ability to virtualize the SPDIF output controls. Specifically:

    * Controls can be "unassigned" from real hardware when a converter is
    not used for the PCM the control was created for.
    * Control puts only write to hardware when they are assigned.
    * Controls can be "assigned" to real hardware when a converter is picked
    to support output for a particular PCM.
    * When a converter is assigned, the hardware is updated to the cached
    configuration.

    Signed-off-by: Stephen Warren
    Signed-off-by: Takashi Iwai

    Stephen Warren
     

17 May, 2011

1 commit