diff options
| -rw-r--r-- | sound/soc/intel/sst-haswell-ipc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/intel/sst-haswell-ipc.c b/sound/soc/intel/sst-haswell-ipc.c index 4ed2d1706a83..50e4246d4b57 100644 --- a/sound/soc/intel/sst-haswell-ipc.c +++ b/sound/soc/intel/sst-haswell-ipc.c | |||
| @@ -991,7 +991,8 @@ int sst_hsw_stream_get_volume(struct sst_hsw *hsw, struct sst_hsw_stream *stream | |||
| 991 | return -EINVAL; | 991 | return -EINVAL; |
| 992 | 992 | ||
| 993 | sst_dsp_read(hsw->dsp, volume, | 993 | sst_dsp_read(hsw->dsp, volume, |
| 994 | stream->reply.volume_register_address[channel], sizeof(volume)); | 994 | stream->reply.volume_register_address[channel], |
| 995 | sizeof(*volume)); | ||
| 995 | 996 | ||
| 996 | return 0; | 997 | return 0; |
| 997 | } | 998 | } |
