1. 17 7月, 2016 1 次提交
  2. 13 7月, 2016 1 次提交
  3. 12 7月, 2016 3 次提交
  4. 11 7月, 2016 1 次提交
  5. 07 7月, 2016 1 次提交
    • T
      ALSA: control: add dimension validator for userspace elements · 860c1994
      Takashi Sakamoto 提交于
      The 'dimen' field in struct snd_ctl_elem_info is used to compose all of
      members in the element as multi-dimensional matrix. The field has four
      members. Each member represents the width in each dimension level by
      element member unit. For example, if the members consist of typical
      two dimensional matrix, the dimen[0] represents the number of rows
      and dimen[1] represents the number of columns (or vise-versa).
      
      The total members in the matrix should be exactly the same as the number
      of members in the element, while current implementation has no validator
      of this information. In a view of userspace applications, the information
      must be valid so that it cannot cause any bugs such as buffer-over-run.
      
      This commit adds a validator of dimension information for userspace
      applications which add new element sets. When they add the element sets
      with wrong dimension information, they receive -EINVAL.
      Signed-off-by: NTakashi Sakamoto <o-takashi@sakamocchi.jp>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      860c1994
  6. 05 7月, 2016 1 次提交
    • A
      ALSA: ppc/awacs: shut up maybe-uninitialized warning · b268c34e
      Arnd Bergmann 提交于
      The awacs sound driver produces a false-positive warning in ppc64_defconfig:
      
      sound/ppc/awacs.c: In function 'snd_pmac_awacs_init':
      include/sound/control.h:219:9: warning: 'master_vol' may be used uninitialized in this function [-Wmaybe-uninitialized]
      
      I haven't come up with a good way to rewrite the code to avoid the
      warning, so here is a bad one: I initialize the variable before
      the conditionall initialization so gcc no longer has to worry about
      it.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      b268c34e
  7. 30 6月, 2016 1 次提交
  8. 18 6月, 2016 1 次提交
    • A
      ALSA: seq_timer: use monotonic times internally · 3915bf29
      Arnd Bergmann 提交于
      The sequencer client manager reports timestamps in units of unsigned
      32-bit seconds/nanoseconds, but that does not suffer from the y2038
      overflow because it stores only the delta since the 'last_update'
      time was recorded.
      
      However, the use of the do_gettimeofday() function is problematic
      and we have to replace it to avoid the overflow on on 32-bit
      architectures.
      
      This uses 'struct timespec64' to record 'last_update', and changes
      the code to use monotonic timestamps that do not suffer from leap
      seconds and settimeofday updates.
      
      As a side-effect, the code can now use the timespec64_sub() helper
      and become more readable and also avoid a multiplication to convert
      from microseconds to nanoseconds.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      3915bf29
  9. 17 6月, 2016 3 次提交
  10. 16 6月, 2016 1 次提交
  11. 15 6月, 2016 4 次提交
  12. 09 6月, 2016 1 次提交
  13. 07 6月, 2016 2 次提交
  14. 03 6月, 2016 1 次提交
  15. 02 6月, 2016 1 次提交
    • T
      ALSA: hda - Turn off loopback mixing as default · fabc16fe
      Takashi Iwai 提交于
      So far, we enabled the loopback mixing control as default, as this
      behavior made somewhat compatible with the earlier HD-audio drivers
      for Realtek & co.  However, it's getting annoying as we've got more
      and more bug reports about the noise coming from the loopback route.
      Since the loopback mixing is used fairly rarely and often harmful
      (e.g. using PA), let's get rid of the default turn-on lines.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      fabc16fe
  16. 01 6月, 2016 11 次提交
  17. 31 5月, 2016 1 次提交
  18. 30 5月, 2016 3 次提交
  19. 29 5月, 2016 2 次提交