OSDN Git Service

misc: fastrpc: Create fastrpc scalar with correct buffer count
authorEkansh Gupta <quic_ekangupt@quicinc.com>
Wed, 14 Jun 2023 11:54:45 +0000 (17:24 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Jun 2023 11:42:18 +0000 (13:42 +0200)
commit0b4e32df3e09406b835d8230b9331273f2805058
tree009f7de7b251635f4286f20014471188ae0659fe
parent1995f15590ca222f91193ed11461862b450abfd6
misc: fastrpc: Create fastrpc scalar with correct buffer count

A process can spawn a PD on DSP with some attributes that can be
associated with the PD during spawn and run. The invocation
corresponding to the create request with attributes has total
4 buffers at the DSP side implementation. If this number is not
correct, the invocation is expected to fail on DSP. Added change
to use correct number of buffer count for creating fastrpc scalar.

Fixes: d73f71c7c6ee ("misc: fastrpc: Add support for create remote init process")
Cc: stable <stable@kernel.org>
Tested-by: Ekansh Gupta <quic_ekangupt@quicinc.com>
Signed-off-by: Ekansh Gupta <quic_ekangupt@quicinc.com>
Message-ID: <1686743685-21715-1-git-send-email-quic_ekangupt@quicinc.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/fastrpc.c