Enter Mode Command may contain one VDO.
Showing the changes to include/linux (1 of 5 files). Show all
Unified · Split
| @@ -55,7 +55,7 @@ static inline void *typec_altmode_get_drvdata(struct typec_altmode *altmode) · 54 unmodified lines | ||
| 55 | 55 | * @activate: User callback for Enter/Exit Mode |
| 56 | 56 | */ |
| 57 | 57 | struct typec_altmode_ops { |
| 58 | − int (*enter)(struct typec_altmode *altmode); | |
| 58 | + int (*enter)(struct typec_altmode *altmode, u32 *vdo); | |
| 59 | 59 | int (*exit)(struct typec_altmode *altmode); |
| 60 | 60 | void (*attention)(struct typec_altmode *altmode, u32 vdo); |
| 61 | 61 | int (*vdm)(struct typec_altmode *altmode, const u32 hdr, |
| @@ -65,7 +65,7 @@ struct typec_altmode_ops { · 3 unmodified lines | ||
| 65 | 65 | int (*activate)(struct typec_altmode *altmode, int activate); |
| 66 | 66 | }; |
| 67 | 67 | |
| 68 | −int typec_altmode_enter(struct typec_altmode *altmode); | |
| 68 | +int typec_altmode_enter(struct typec_altmode *altmode, u32 *vdo); | |
| 69 | 69 | int typec_altmode_exit(struct typec_altmode *altmode); |
| 70 | 70 | void typec_altmode_attention(struct typec_altmode *altmode, u32 vdo); |
| 71 | 71 | int typec_altmode_vdm(struct typec_altmode *altmode, |