Uh oh!
There was an error while loading. Please reload this page.
ASoC: SOF: save reply data for SOF_IPC_PM_CTX_SAVE - #806
Conversation
In hda-ipc, the code missed saving the reply data for SOF_IPC_PM_CTX_SAVE case. Signed-off-by: Libin Yang <libin.yang@intel.com>
kv2019i
left a comment
There was a problem hiding this comment.
Looks good. It's a bit hard to understand how reply_data is used as in some cases the header is copied to it, and in other cases the message payload. But based on existing code, hda-dsp.c was not aligned with what other drivers are doing so this patch seems correct.
libinyang
commented
Apr 10, 2019
@kv2019i Thanks for review. I think how the reply_data is used is based on the ipc cmd type. Different ipc cmd will use different reply_data contents.
|
plbossart
commented
Apr 10, 2019
ranj063
commented
Apr 10, 2019
@plbossart LGTM |
…arations) Fix checkpatch code style warnings: WARNING: Missing a blank line after declarations thesofproject#761: FILE: net/core/pktgen.c:761: + char c; + if (get_user(c, &user_buffer[i])) WARNING: Missing a blank line after declarations thesofproject#780: FILE: net/core/pktgen.c:780: + char c; + if (get_user(c, &user_buffer[i])) WARNING: Missing a blank line after declarations thesofproject#806: FILE: net/core/pktgen.c:806: + char c; + if (get_user(c, &user_buffer[i])) WARNING: Missing a blank line after declarations thesofproject#823: FILE: net/core/pktgen.c:823: + char c; + if (get_user(c, &user_buffer[i])) WARNING: Missing a blank line after declarations thesofproject#1968: FILE: net/core/pktgen.c:1968: + char f[32]; + memset(f, 0, 32); WARNING: Missing a blank line after declarations thesofproject#2410: FILE: net/core/pktgen.c:2410: + struct pktgen_net *pn = net_generic(dev_net(pkt_dev->odev), pg_net_id); + if (!x) { WARNING: Missing a blank line after declarations thesofproject#2442: FILE: net/core/pktgen.c:2442: + __u16 t; + if (pkt_dev->flags & F_QUEUE_MAP_RND) { WARNING: Missing a blank line after declarations thesofproject#2523: FILE: net/core/pktgen.c:2523: + unsigned int i; + for (i = 0; i < pkt_dev->nr_labels; i++) WARNING: Missing a blank line after declarations thesofproject#2567: FILE: net/core/pktgen.c:2567: + __u32 t; + if (pkt_dev->flags & F_IPSRC_RND) WARNING: Missing a blank line after declarations thesofproject#2587: FILE: net/core/pktgen.c:2587: + __be32 s; + if (pkt_dev->flags & F_IPDST_RND) { WARNING: Missing a blank line after declarations thesofproject#2634: FILE: net/core/pktgen.c:2634: + __u32 t; + if (pkt_dev->flags & F_TXSIZE_RND) { WARNING: Missing a blank line after declarations thesofproject#2736: FILE: net/core/pktgen.c:2736: + int i; + for (i = 0; i < pkt_dev->cflows; i++) { WARNING: Missing a blank line after declarations thesofproject#2738: FILE: net/core/pktgen.c:2738: + struct xfrm_state *x = pkt_dev->flows[i].x; + if (x) { WARNING: Missing a blank line after declarations thesofproject#2752: FILE: net/core/pktgen.c:2752: + int nhead = 0; + if (x) { WARNING: Missing a blank line after declarations thesofproject#2795: FILE: net/core/pktgen.c:2795: + unsigned int i; + for (i = 0; i < pkt_dev->nr_labels; i++) WARNING: Missing a blank line after declarations thesofproject#3480: FILE: net/core/pktgen.c:3480: + ktime_t idle_start = ktime_get(); + schedule(); Signed-off-by: Peter Seiderer <ps.report@gmx.net> Reviewed-by: Toke Høiland-Jørgensen <toke@redhat.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
In hda-ipc, the code missed saving the reply data for SOF_IPC_PM_CTX_SAVE
case.
Signed-off-by: Libin Yang libin.yang@intel.com