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

Skip to content
Commit 6aff4832 authored by Felipe Balbi's avatar Felipe Balbi
Browse files

usb: dwc3: gadget: rely on sg_is_last() and list_is_last()



sg_is_last() and list_is_last() will encode the
required information for the driver to make
decisions WRT CHN and LST bits.

While at that, also replace '1' with 'true' for
consistency.

Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent 4fae2e3e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment