]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
usb: gadget: Rename audio function to uac1
authorJassi Brar <jaswinder.singh@linaro.org>
Thu, 2 Feb 2012 16:29:53 +0000 (21:59 +0530)
committerFelipe Balbi <balbi@ti.com>
Wed, 15 Feb 2012 08:09:48 +0000 (10:09 +0200)
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 <yadi.brar01@gmail.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/audio.c
drivers/usb/gadget/f_uac1.c [moved from drivers/usb/gadget/f_audio.c with 99% similarity]
drivers/usb/gadget/u_uac1.c [moved from drivers/usb/gadget/u_audio.c with 99% similarity]
drivers/usb/gadget/u_uac1.h [moved from drivers/usb/gadget/u_audio.h with 94% similarity]

index 9d89ae4765a92c867410601cd3d89c445c96175e..056a2d936d7f6a17e91fcb283ec4094f12df3698 100644 (file)
@@ -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"
@@ -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"
 
 /*-------------------------------------------------------------------------*/
 
similarity index 99%
rename from drivers/usb/gadget/f_audio.c
rename to drivers/usb/gadget/f_uac1.c
index ec7ffcd0d0cd7e9a0a42bb1b859b9f71b5c96212..e4c060fd81e49e35432e3e05370b0645eeb4efdc 100644 (file)
@@ -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;
similarity index 99%
rename from drivers/usb/gadget/u_audio.c
rename to drivers/usb/gadget/u_uac1.c
index 59ffe1ecf1c9ad92d01cd020ca7ac73e36f9734b..af989898205989ca46e443b6e8d496d9c8ba459b 100644 (file)
@@ -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 <cooloney@kernel.org>
  * Copyright (C) 2008 Analog Devices, Inc
@@ -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
similarity index 94%
rename from drivers/usb/gadget/u_audio.h
rename to drivers/usb/gadget/u_uac1.h
index 08ffce3298e6a99c56f2541279cf830408bcbf22..18c2e729faf6fc203da34bf2a3dd78c64f7ea58e 100644 (file)
@@ -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 <cooloney@kernel.org>
  * Copyright (C) 2008 Analog Devices, Inc