01 Jun, 2010

6 commits

  • Move more definitions from private enums to appropriate header files.

    Signed-off-by: Daniel Mack
    Signed-off-by: Takashi Iwai

    Daniel Mack
     
  • Audio devices which comply to the UAC2 standard can export complex clock
    topologies in its descriptors and set up links between them.

    The entities that are defined are

    - clock sources, which define the end-leafs.
    - clock selectors, which act as switch to select one out of many
    possible clocks sources.
    - clock multipliers, which have an input clock source, and act as clock
    source again. They can be used to derive one clock from another.

    All sample rate changes, clock validity queries and the like must go to
    clock source elements, while clock selectors and multipliers can be used
    as terminal clock source.

    The following patch adds a parser for these elements and functions to
    iterate over the tree and find the leaf nodes (clock sources).

    The samplerate set functions were moved to the new clock.c file.

    Signed-off-by: Daniel Mack
    Signed-off-by: Takashi Iwai

    Daniel Mack
     
  • This is another regression from the UAC2 code refactoring.

    Signed-off-by: Daniel Mack
    Signed-off-by: Takashi Iwai

    Daniel Mack
     
  • Also, remove the 'bmControl' field from uac_clock_selector_descriptor,
    which was at the wrong offset. This struct is currently unused.

    Signed-off-by: Daniel Mack
    Signed-off-by: Takashi Iwai

    Daniel Mack
     
  • So far, UAC2 controls are marked read-only if any of the channels are
    marked read-only in the descriptors. Change this behaviour and

    - mark them writeable unless all channels are read-only
    - store the read-only mask in usb_mixer_elem_info and
    - check the mask again in set_cur_mix_value(), and bail out for
    write-protected channels.

    Signed-off-by: Daniel Mack
    Signed-off-by: Takashi Iwai

    Daniel Mack
     
  • Introduce two new static inline functions for a more readable parsing
    of UAC2 bmaControls.

    Signed-off-by: Daniel Mack
    Signed-off-by: Takashi Iwai

    Daniel Mack
     

31 May, 2010

16 commits

  • .. and thus endeth the merge window.

    Linus Torvalds
     
  • * 'slub/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg/slab-2.6:
    SLUB: Allow full duplication of kmalloc array for 390
    slub: move kmem_cache_node into it's own cacheline

    Linus Torvalds
     
  • …/git/tip/linux-2.6-tip

    * 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    mutex: Fix optimistic spinning vs. BKL

    Linus Torvalds
     
  • …/git/tip/linux-2.6-tip

    * 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    perf tui: Fix last use_browser problem related to .perfconfig
    perf symbols: Add the build id cache to the vmlinux path
    perf tui: Reset use_browser if stdout is not a tty
    ring-buffer: Move zeroing out excess in page to ring buffer code
    ring-buffer: Reset "real_end" when page is filled

    Linus Torvalds
     
  • This partially reverts commit 4ec37de89d8c758ee8115e0e64b3f994910789ee
    ("[IA64] Fix build breakage"), since the commit that made it necessary
    got reverted earlier (see commit 35926ff5fba8, 'Revert "cpusets:
    randomize node rotor used in cpuset_mem_spread_node()"')

    Even if we ever re-introduce this, there is no reason to make
    __node_random be some architecture-specific function.

    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse:
    mm: export generic_pipe_buf_*() to modules
    fuse: support splice() reading from fuse device
    fuse: allow splice to move pages
    mm: export remove_from_page_cache() to modules
    mm: export lru_cache_add_*() to modules
    fuse: support splice() writing to fuse device
    fuse: get page reference for readpages
    fuse: use get_user_pages_fast()
    fuse: remove unneeded variable

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-kconfig:
    kconfig: Hide error output in find command in streamline_config.pl
    kconfig: Fix typo in comment in streamline_config.pl
    kconfig: Make a variable local in streamline_config.pl

    Linus Torvalds
     
  • * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6: (47 commits)
    mfd: Rename twl5031 sih modules
    mfd: Storage class for timberdale should be before const qualifier
    mfd: Remove unneeded and dangerous clearing of clientdata
    mfd: New AB8500 driver
    gpio: Fix inverted rdc321x gpio data out registers
    mfd: Change rdc321x resources flags to IORESOURCE_IO
    mfd: Move pcf50633 irq related functions to its own file.
    mfd: Use threaded irq for pcf50633
    mfd: pcf50633-adc: Fix potential race in pcf50633_adc_sync_read
    mfd: Fix pcf50633 bitfield logic in interrupt handler
    gpio: rdc321x needs to select MFD_CORE
    mfd: Use menuconfig for quicker config editing
    ARM: AB3550 board configuration and irq for U300
    mfd: AB3550 core driver
    mfd: AB3100 register access change to abx500 API
    mfd: Renamed ab3100.h to abx500.h
    gpio: Add TC35892 GPIO driver
    mfd: Add Toshiba's TC35892 MFD core
    mfd: Delay to mask tsc irq in max8925
    mfd: Remove incorrect wm8350 kfree
    ...

    Linus Torvalds
     
  • * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx:
    DMAENGINE: DMA40 U8500 platform configuration
    DMA: PL330: Add dma api driver

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband:
    IB/qib: Remove DCA support until feature is finished
    IB/qib: Use a single txselect module parameter for serdes tuning
    IB/qib: Don't rely on (undefined) order of function parameter evaluation
    IB/ucm: Use memdup_user()
    IB/qib: Fix undefined symbol error when CONFIG_PCI_MSI=n

    Linus Torvalds
     
  • * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs-2.6:
    quota: Convert quota statistics to generic percpu_counter
    ext3 uses rb_node = NULL; to zero rb_root.
    quota: Fixup dquot_transfer
    reiserfs: Fix resuming of quotas on remount read-write
    pohmelfs: Remove dead quota code
    ufs: Remove dead quota code
    udf: Remove dead quota code
    quota: rename default quotactl methods to dquot_
    quota: explicitly set ->dq_op and ->s_qcop
    quota: drop remount argument to ->quota_on and ->quota_off
    quota: move unmount handling into the filesystem
    quota: kill the vfs_dq_off and vfs_dq_quota_on_remount wrappers
    quota: move remount handling into the filesystem
    ocfs2: Fix use after free on remount read-only

    Fix up conflicts in fs/ext4/super.c and fs/ufs/file.c

    Linus Torvalds
     
  • …git/tip/linux-2.6-tip

    * 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    x86, cpufeature: Unbreak compile with gcc 3.x
    x86, pat: Fix memory leak in free_memtype
    x86, k8: Fix section mismatch for powernowk8_exit()
    lib/atomic64_test: fix missing include of linux/kernel.h
    x86: remove last traces of quicklist usage
    x86, setup: Phoenix BIOS fixup is needed on Dell Inspiron Mini 1012
    x86: "nosmp" command line option should force the system into UP mode
    arch/x86/pci: use kasprintf
    x86, apic: ack all pending irqs when crashed/on kexec

    Linus Torvalds
     
  • If there's only one CPU online when disable_nonboot_cpus() is called,
    the error variable will not be initialized and that may lead to
    erroneous behavior. Fix this issue by initializing error in
    disable_nonboot_cpus() as appropriate.

    Signed-off-by: Rafael J. Wysocki
    Signed-off-by: Linus Torvalds

    Rafael J. Wysocki
     
  • Fix a bunch of new rapidio kernel-doc warnings:

    Warning(include/linux/rio.h:123): No description found for parameter 'comp_tag'
    Warning(include/linux/rio.h:123): No description found for parameter 'phys_efptr'
    Warning(include/linux/rio.h:123): No description found for parameter 'em_efptr'
    Warning(include/linux/rio.h:123): No description found for parameter 'pwcback'
    Warning(include/linux/rio.h:247): No description found for parameter 'set_domain'
    Warning(include/linux/rio.h:247): No description found for parameter 'get_domain'
    Warning(drivers/rapidio/rio-scan.c:1133): No description found for parameter 'rdev'
    Warning(drivers/rapidio/rio-scan.c:1133): Excess function parameter 'port' description in 'rio_init_em'
    Warning(drivers/rapidio/rio.c:349): No description found for parameter 'rdev'
    Warning(drivers/rapidio/rio.c:349): Excess function parameter 'mport' description in 'rio_request_inb_pwrite'
    Warning(drivers/rapidio/rio.c:393): No description found for parameter 'port'
    Warning(drivers/rapidio/rio.c:393): No description found for parameter 'local'
    Warning(drivers/rapidio/rio.c:393): No description found for parameter 'destid'
    Warning(drivers/rapidio/rio.c:393): No description found for parameter 'hopcount'
    Warning(drivers/rapidio/rio.c:393): Excess function parameter 'rdev' description in 'rio_mport_get_physefb'
    Warning(drivers/rapidio/rio.c:845): Excess function parameter 'local' description in 'rio_std_route_clr_table'

    Signed-off-by: Randy Dunlap
    Cc: Alexandre Bounine
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • * 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6:
    parisc: Call pagefault_disable/pagefault_enable in kmap_atomic/kunmap_atomic
    parisc: Remove unnecessary macros from entry.S
    parisc: LWS fixes for syscall.S
    parisc: Delete unnecessary nop's in entry.S
    parisc: Avoid interruption in critical region in entry.S
    parisc: invoke oom-killer from page fault
    parisc: clear floating point exception flag on SIGFPE signal
    parisc: Use of align_frame provides stack frame.

    Linus Torvalds
     
  • This reverts commit 0ac0c0d0f837c499afd02a802f9cf52d3027fa3b, which
    caused cross-architecture build problems for all the wrong reasons.
    IA64 already added its own version of __node_random(), but the fact is,
    there is nothing architectural about the function, and the original
    commit was just badly done. Revert it, since no fix is forthcoming.

    Requested-by: Stephen Rothwell
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     

30 May, 2010

18 commits