Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 220375
b: refs/heads/master
c: 9f40784
h: refs/heads/master
i:
  220373: 6a73acf
  220371: c5380a7
  220367: a8226f0
v: v3
  • Loading branch information
Dan Carpenter authored and Greg Kroah-Hartman committed Oct 15, 2010
1 parent ae48477 commit b01ec84
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 87b554a04a0d12f8ff3612b6c2e163e29a34616a
refs/heads/master: 9f407840bb888e683fa844b1b80eec54ced84653
1 change: 0 additions & 1 deletion trunk/drivers/staging/intel_sst/intel_sst_fw_ipc.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
*/

#define MAX_NUM_STREAMS_MRST 3
#define MAX_NUM_STREAMS_MFLD 6
#define MAX_NUM_STREAMS 6
#define MAX_DBG_RW_BYTES 80
#define MAX_NUM_SCATTER_BUFFERS 8
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/intel_sst/intel_sst_stream.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
*/
int sst_check_device_type(u32 device, u32 num_chan, u32 *pcm_slot)
{
if (device > MAX_NUM_STREAMS_MFLD) {
if (device >= MAX_NUM_STREAMS) {
pr_debug("sst: device type invalid %d\n", device);
return -EINVAL;
}
Expand Down

0 comments on commit b01ec84

Please sign in to comment.