Name

acm_cdc_notify — issue CDC notification to host

Synopsis

int acm_cdc_notify (struct f_acm *  acm,
 u8  type,
 u16  value,
 void *  data,
 unsigned  length);

Arguments

acm

wraps host to be notified

type

notification type

value

Refer to cdc specs, wValue field.

data

data to be sent

length

size of data

Context

irqs blocked, acm->lock held, acm_notify_req non-null

Description

Returns zero on sucess or a negative errno.

See section 6.3.5 of the CDC 1.1 specification for information

about the only notification we issue

SerialState change.