git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.3
[linux-2.6.git]
/
sound
/
drivers
/
vx
/
vx_hwdep.c
diff --git
a/sound/drivers/vx/vx_hwdep.c
b/sound/drivers/vx/vx_hwdep.c
index
8a69c02
..
9d153ea
100644
(file)
--- a/
sound/drivers/vx/vx_hwdep.c
+++ b/
sound/drivers/vx/vx_hwdep.c
@@
-44,7
+44,7
@@
static int vx_hwdep_dsp_status(snd_hwdep_t *hw, snd_hwdep_dsp_status_t *info)
[VX_TYPE_VXPOCKET] = "vxpocket",
[VX_TYPE_VXP440] = "vxp440",
};
[VX_TYPE_VXPOCKET] = "vxpocket",
[VX_TYPE_VXP440] = "vxp440",
};
- vx_core_t *vx =
snd_magic_cast(vx_core_t, hw->private_data, return -ENXIO)
;
+ vx_core_t *vx =
hw->private_data
;
snd_assert(type_ids[vx->type], return -EINVAL);
strcpy(info->id, type_ids[vx->type]);
snd_assert(type_ids[vx->type], return -EINVAL);
strcpy(info->id, type_ids[vx->type]);
@@
-60,7
+60,7
@@
static int vx_hwdep_dsp_status(snd_hwdep_t *hw, snd_hwdep_dsp_status_t *info)
static int vx_hwdep_dsp_load(snd_hwdep_t *hw, snd_hwdep_dsp_image_t *dsp)
{
static int vx_hwdep_dsp_load(snd_hwdep_t *hw, snd_hwdep_dsp_image_t *dsp)
{
- vx_core_t *vx =
snd_magic_cast(vx_core_t, hw->private_data, return -ENXIO)
;
+ vx_core_t *vx =
hw->private_data
;
int index, err;
snd_assert(vx->ops->load_dsp, return -ENXIO);
int index, err;
snd_assert(vx->ops->load_dsp, return -ENXIO);