Skip to content

Commit

Permalink
usb: gadget: u_audio: Fixed variable declaration coding style issue
Browse files Browse the repository at this point in the history
Fixed a coding style issue, replacing unsigned with unsigned int.

Reviewed-by: Eugeniu Rosca <erosca@de.adit-jv.com>
Signed-off-by: Jonas Stenvall <jonas.stenvall.umea@gmail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
  • Loading branch information
Jonas Stenvall authored and Felipe Balbi committed Jun 18, 2019
1 parent 4833a94 commit f4408a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/usb/gadget/function/u_audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ struct uac_rtd_params {

void *rbuf;

unsigned max_psize; /* MaxPacketSize of endpoint */
unsigned int max_psize; /* MaxPacketSize of endpoint */
struct uac_req *ureq;

spinlock_t lock;
Expand Down Expand Up @@ -78,7 +78,7 @@ static const struct snd_pcm_hardware uac_pcm_hardware = {

static void u_audio_iso_complete(struct usb_ep *ep, struct usb_request *req)
{
unsigned pending;
unsigned int pending;
unsigned long flags, flags2;
unsigned int hw_ptr;
int status = req->status;
Expand Down

0 comments on commit f4408a9

Please sign in to comment.