Commit 79703340 authored by Dave Jones's avatar Dave Jones

[PATCH] radio-zoltrix typo

parent ecc1e6ca
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
* (can detect if station is in stereo) * (can detect if station is in stereo)
* - Added unmute function * - Added unmute function
* - Reworked ioctl functions * - Reworked ioctl functions
* 2002-07-15 - Fix Stereo typo
*/ */
#include <linux/module.h> /* Modules */ #include <linux/module.h> /* Modules */
...@@ -274,7 +275,7 @@ static int zol_do_ioctl(struct inode *inode, struct file *file, ...@@ -274,7 +275,7 @@ static int zol_do_ioctl(struct inode *inode, struct file *file,
struct video_audio *v = arg; struct video_audio *v = arg;
memset(&v, 0, sizeof(*v)); memset(&v, 0, sizeof(*v));
v->flags |= VIDEO_AUDIO_MUTABLE | VIDEO_AUDIO_VOLUME; v->flags |= VIDEO_AUDIO_MUTABLE | VIDEO_AUDIO_VOLUME;
v->mode != zol_is_stereo(zol) v->mode |= zol_is_stereo(zol)
? VIDEO_SOUND_STEREO : VIDEO_SOUND_MONO; ? VIDEO_SOUND_STEREO : VIDEO_SOUND_MONO;
v->volume = zol->curvol * 4096; v->volume = zol->curvol * 4096;
v->step = 4096; v->step = 4096;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment