projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ASoC: Intel: some incorrect sizeof() usages
[deliverable/linux.git]
/
sound
/
soc
/
intel
/
sst-haswell-ipc.c
diff --git
a/sound/soc/intel/sst-haswell-ipc.c
b/sound/soc/intel/sst-haswell-ipc.c
index f46bb4ddde6fc7550573e5fdd0235afda429044a..4ed2d1706a8333f528cf42dfe4e357da0375160e 100644
(file)
--- a/
sound/soc/intel/sst-haswell-ipc.c
+++ b/
sound/soc/intel/sst-haswell-ipc.c
@@
-617,7
+617,7
@@
static void hsw_notification_work(struct work_struct *work)
case IPC_POSITION_CHANGED:
trace_ipc_notification("DSP stream position changed for",
stream->reply.stream_hw_id);
case IPC_POSITION_CHANGED:
trace_ipc_notification("DSP stream position changed for",
stream->reply.stream_hw_id);
- sst_dsp_inbox_read(hsw->dsp, pos, sizeof(pos));
+ sst_dsp_inbox_read(hsw->dsp, pos, sizeof(
*
pos));
if (stream->notify_position)
stream->notify_position(stream, stream->pdata);
if (stream->notify_position)
stream->notify_position(stream, stream->pdata);
@@
-1609,7
+1609,7
@@
int sst_hsw_dx_set_state(struct sst_hsw *hsw,
trace_ipc_request("PM enter Dx state", state);
ret = ipc_tx_message_wait(hsw, header, &state_, sizeof(state_),
trace_ipc_request("PM enter Dx state", state);
ret = ipc_tx_message_wait(hsw, header, &state_, sizeof(state_),
- dx, sizeof(dx));
+ dx, sizeof(
*
dx));
if (ret < 0) {
dev_err(hsw->dev, "ipc: error set dx state %d failed\n", state);
return ret;
if (ret < 0) {
dev_err(hsw->dev, "ipc: error set dx state %d failed\n", state);
return ret;
This page took
0.032881 seconds
and
5
git commands to generate.