commit | 6aff483295950abcf3be1a99f56f308bd6a1bab4 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <felipe.balbi@linux.intel.com> | Fri May 13 10:07:47 2016 +0300 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Mon Jun 20 12:30:05 2016 +0300 |
tree | 27893c6abf48474130bdfe9e3735c5c33ab9a945 | |
parent | 4fae2e3e15157ac312b91234389e79f7a76667b3 [diff] |
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: Felipe Balbi <felipe.balbi@linux.intel.com>