Commits

Yair K.  committed 3db7507

Cleanups for GCC 4.5.1

  • Participants
  • Parent commits e1439b6

Comments (0)

Files changed (2)

File kernel/drv/oss_audigyls/oss_audigyls.c

 
 	  case SOUND_MIXER_CENTERVOL:
 	    val = *arg;
-	    return *arg = audigyls_set_volume (devc, 2, val);
+	    return *arg = audigyls_set_volume (devc, 1, val);
 
 	  case SOUND_MIXER_REARVOL:
 	    val = *arg;
-	    return *arg = audigyls_set_volume (devc, 3, val);
+	    return *arg = audigyls_set_volume (devc, 2, val);
 	  }
       else
 	switch (cmd & 0xff)	/* Return Parameter */

File kernel/drv/oss_imux/oss_imux.c

   devc->device_started = 1;
   devc->hw_channels = 2;
 
-  devc->hw_channels = devc->hw_channels =
+  devc->hw_channels =
     oss_audio_set_channels (devc->hw_dev, devc->hw_channels);
 
 /*