Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 343864
b: refs/heads/master
c: 5a3ef81
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Oct 28, 2012
1 parent a97f242 commit 0932769
Show file tree
Hide file tree
Showing 3 changed files with 3 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: 84cc2377ee72cfa5745fcd26919d4b1aa3e0e9e5
refs/heads/master: 5a3ef810746b1219b00e3e2bd680250039da3df2
2 changes: 1 addition & 1 deletion trunk/drivers/media/radio/wl128x/fmdrv_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ static void fm_irq_handle_rdsdata_getcmd_resp(struct fmdev *fmdev)
if ((meta_data & FM_RDS_STATUS_ERR_MASK) != 0)
break;

if (blk_idx < FM_RDS_BLK_IDX_A || blk_idx > FM_RDS_BLK_IDX_D) {
if (blk_idx > FM_RDS_BLK_IDX_D) {
fmdbg("Block sequence mismatch\n");
rds->last_blk_idx = -1;
break;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/radio/wl128x/fmdrv_rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ int fm_rx_set_volume(struct fmdev *fmdev, u16 vol_to_set)
if (fmdev->curr_fmmode != FM_MODE_RX)
return -EPERM;

if (vol_to_set < FM_RX_VOLUME_MIN || vol_to_set > FM_RX_VOLUME_MAX) {
if (vol_to_set > FM_RX_VOLUME_MAX) {
fmerr("Volume is not within(%d-%d) range\n",
FM_RX_VOLUME_MIN, FM_RX_VOLUME_MAX);
return -EINVAL;
Expand Down

0 comments on commit 0932769

Please sign in to comment.