misc: fastrpc: Use USER_PD define in fastrpc_get_info_from_dsp
authorAbel Vesa <abel.vesa@linaro.org>
Tue, 16 Aug 2022 10:55:28 +0000 (13:55 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Sep 2022 14:29:37 +0000 (16:29 +0200)
commitf667f56b2f55881a705e5a67d30d71e5fb75dbe3
tree2421e9215f4be27e079f3026e9ebe8107154c668
parent5cb14f15d79a8edfb9197deb97c7061d55b819ab
misc: fastrpc: Use USER_PD define in fastrpc_get_info_from_dsp

There are defines for each type of protection domain now.
Use the USER_PD instead of magic value in fastrpc_get_info_from_dsp.

Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Cc: Amol Maheshwari <amahesh@qti.qualcomm.com>
Reviewed-by: Andrew Halaney <ahalaney@redhat.com>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20220816105528.3222763-1-abel.vesa@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/fastrpc.c