misc: fastrpc: add ioctl for attaching to sensors pd
authorJonathan Marek <jonathan@marek.ca>
Tue, 8 Sep 2020 13:10:11 +0000 (09:10 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Sep 2020 15:30:37 +0000 (17:30 +0200)
commit6010d9befc8df899b61378adfd153f0b53075092
treebbe7a39fbc729bf844f062c2de2a0e768ebb48aa
parent84195d206e1fbd6309ee172ddfbe1673c1254488
misc: fastrpc: add ioctl for attaching to sensors pd

Initializing sensors requires attaching to pd 2. Add an ioctl for that.

This corresponds to FASTRPC_INIT_ATTACH_SENSORS in the downstream driver.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Link: https://lore.kernel.org/r/20200908131013.19630-4-jonathan@marek.ca
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/fastrpc.c
include/uapi/misc/fastrpc.h