]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb3a092ff249f248c7474dcf8acd53e98e26fa25b
treebbe7a39fbc729bf844f062c2de2a0e768ebb48aa
parentb0ffdf44bed72bce7352b400fcfebccb1868f782
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