Skip to content

Commit

Permalink
usb: gadget: Rename audio function to uac1
Browse files Browse the repository at this point in the history
The extant USB-Audio function driver complies to UAC_1 spec.
So name the files accordingly, paving way for inclusion of
a new UAC_2 specified driver.

Signed-off-by: Yadi Brar <[email protected]>
Signed-off-by: Jassi Brar <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
  • Loading branch information
JassiBrar authored and Felipe Balbi committed Feb 15, 2012
1 parent 6e4b74e commit 18b5b3b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions drivers/usb/gadget/audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <linux/kernel.h>
#include <linux/utsname.h>

#include "u_audio.h"
#include "u_uac1.h"

#define DRIVER_DESC "Linux USB Audio Gadget"
#define DRIVER_VERSION "Dec 18, 2008"
Expand All @@ -33,8 +33,8 @@
#include "config.c"
#include "epautoconf.c"

#include "u_audio.c"
#include "f_audio.c"
#include "u_uac1.c"
#include "f_uac1.c"

/*-------------------------------------------------------------------------*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <linux/device.h>
#include <linux/atomic.h>

#include "u_audio.h"
#include "u_uac1.h"

#define OUT_EP_MAX_PACKET_SIZE 200
static int req_buf_size = OUT_EP_MAX_PACKET_SIZE;
Expand Down
4 changes: 2 additions & 2 deletions drivers/usb/gadget/u_audio.c → drivers/usb/gadget/u_uac1.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* u_audio.c -- ALSA audio utilities for Gadget stack
* u_uac1.c -- ALSA audio utilities for Gadget stack
*
* Copyright (C) 2008 Bryan Wu <[email protected]>
* Copyright (C) 2008 Analog Devices, Inc
Expand All @@ -17,7 +17,7 @@
#include <linux/random.h>
#include <linux/syscalls.h>

#include "u_audio.h"
#include "u_uac1.h"

/*
* This component encapsulates the ALSA devices for USB audio gadget
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* u_audio.h -- interface to USB gadget "ALSA AUDIO" utilities
* u_uac1.h -- interface to USB gadget "ALSA AUDIO" utilities
*
* Copyright (C) 2008 Bryan Wu <[email protected]>
* Copyright (C) 2008 Analog Devices, Inc
Expand Down

0 comments on commit 18b5b3b

Please sign in to comment.