Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 372057
b: refs/heads/master
c: fa92dd7
h: refs/heads/master
i:
  372055: ee9a8e8
v: v3
  • Loading branch information
David Henningsson authored and Takashi Iwai committed Apr 26, 2013
1 parent 9ef4696 commit 5bc5831
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4b417cf01657c8dcd03abb0aa49f3825fede6539
refs/heads/master: fa92dd77ec5623cc0546acb77ee61a0a7ea4f0f0
2 changes: 2 additions & 0 deletions trunk/sound/usb/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,8 @@ static int set_sample_rate_v2(struct snd_usb_audio *chip, int iface,
return clock;

prev_rate = get_sample_rate_v2(chip, iface, fmt->altsetting, clock);
if (prev_rate == rate)
return 0;

cs_desc = snd_usb_find_clock_source(chip->ctrl_intf, clock);
writeable = uac2_control_is_writeable(cs_desc->bmControls, UAC2_CS_CONTROL_SAM_FREQ - 1);
Expand Down

0 comments on commit 5bc5831

Please sign in to comment.