]> git.baikalelectronics.ru Git - kernel.git/commit
ptp: ocp: Add ability to disable input selectors.
authorJonathan Lemon <jonathan.lemon@gmail.com>
Thu, 10 Mar 2022 20:19:04 +0000 (12:19 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Mar 2022 11:54:45 +0000 (11:54 +0000)
commitb07e17595d2a77060d39a0b26e2c65de377e46f6
treebae6520fba1136311ff4fc0b2c6b4f684c055b7c
parent7ef038060662e8ea8dbee9df2d7bb2384608b5be
ptp: ocp: Add ability to disable input selectors.

This adds support for the "IN: None" selector, which disables
the input on a sma pin.  This should be compatible with old firmware
(the firmware will ignore it if not supported).

Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_ocp.c