summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/svc.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2016-01-06 16:16:46 +0200
committerGreg Kroah-Hartman <gregkh@google.com>2016-01-08 22:14:08 -0800
commitaab4a1a3684a46b423af23e4bdc9afe1b28dc389 (patch)
tree92e483d7351aadd2e1da06de33a65b86e6183e58 /drivers/staging/greybus/svc.h
parente49268cc336eceb0653a03c4a0f9eb53eadf4d64 (diff)
downloadop-kernel-dev-aab4a1a3684a46b423af23e4bdc9afe1b28dc389.zip
op-kernel-dev-aab4a1a3684a46b423af23e4bdc9afe1b28dc389.tar.gz
greybus: svc: Replace link config hack with standard operation
The link config operation was a hack only designed to fulfill the camera driver's needs. Now that a standard operation is defined for the same purpose, implement it and remove the hack. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/svc.h')
-rw-r--r--drivers/staging/greybus/svc.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/staging/greybus/svc.h b/drivers/staging/greybus/svc.h
index 2306035..0ebbed9 100644
--- a/drivers/staging/greybus/svc.h
+++ b/drivers/staging/greybus/svc.h
@@ -44,9 +44,10 @@ int gb_svc_dme_peer_get(struct gb_svc *svc, u8 intf_id, u16 attr, u16 selector,
u32 *value);
int gb_svc_dme_peer_set(struct gb_svc *svc, u8 intf_id, u16 attr, u16 selector,
u32 value);
-int gb_svc_link_config(struct gb_svc *svc, u8 intf_id, unsigned int burst,
- unsigned int gear, unsigned int nlanes,
- unsigned int flags);
+int gb_svc_intf_set_power_mode(struct gb_svc *svc, u8 intf_id, u8 hs_series,
+ u8 tx_mode, u8 tx_gear, u8 tx_nlanes,
+ u8 rx_mode, u8 rx_gear, u8 rx_nlanes,
+ u8 flags, u32 quirks);
int gb_svc_protocol_init(void);
void gb_svc_protocol_exit(void);
OpenPOWER on IntegriCloud