mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
usb: dwc3: gadget: combine modify & restore into single argument
Those two arguments refer to a single bitfield in the register. In order to simplify the code, we can combine them into a single argument and expect caller to pass the correct action argument at all times. Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
This commit is contained in:
parent
8f1c99cd24
commit
a2d23f0803
1 changed files with 11 additions and 22 deletions
Loading…
Add table
Add a link
Reference in a new issue