Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 86825eb8 authored by Liangliang Lu's avatar Liangliang Lu
Browse files

extcon: Add DP lane number notification



Add DP lane number notification which can be used in the
case that need to know DP lane number.

Change-Id: Iec66cbf6a34ca6c4346fa93f7706f3aff9f6a775
Signed-off-by: default avatarLiangliang Lu <luliang@codeaurora.org>
parent bb182284
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -487,7 +487,7 @@ int extcon_sync(struct extcon_dev *edev, unsigned int id)
}
EXPORT_SYMBOL_GPL(extcon_sync);

int extcon_blocking_sync(struct extcon_dev *edev, unsigned int id, bool val)
int extcon_blocking_sync(struct extcon_dev *edev, unsigned int id, u8 val)
{
	int index;

+1 −1
Original line number Diff line number Diff line
@@ -247,7 +247,7 @@ extern struct extcon_dev *extcon_get_edev_by_phandle(struct device *dev,
extern const char *extcon_get_edev_name(struct extcon_dev *edev);

extern int extcon_blocking_sync(struct extcon_dev *edev, unsigned int id,
							bool val);
							u8 val);
#else /* CONFIG_EXTCON */
static inline int extcon_get_state(struct extcon_dev *edev, unsigned int id)
{