media: fix usage of whitespaces and on indentation
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 4 Jan 2018 11:47:28 +0000 (06:47 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 4 Jan 2018 18:12:01 +0000 (13:12 -0500)
On several places, whitespaces are being used for indentation,
or even at the end of the line.

Fix them.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
69 files changed:
drivers/media/Kconfig
drivers/media/dvb-core/Makefile
drivers/media/dvb-core/dvb_ca_en50221.c
drivers/media/dvb-frontends/cx24116.c
drivers/media/dvb-frontends/drx39xyj/drxj.c
drivers/media/dvb-frontends/drxk.h
drivers/media/dvb-frontends/mb86a20s.c
drivers/media/dvb-frontends/mn88473.c
drivers/media/dvb-frontends/tda18271c2dd.h
drivers/media/i2c/Kconfig
drivers/media/i2c/adv7343.c
drivers/media/i2c/adv7393.c
drivers/media/i2c/cx25840/cx25840-core.c
drivers/media/i2c/cx25840/cx25840-ir.c
drivers/media/i2c/smiapp/smiapp-core.c
drivers/media/i2c/tvp5150_reg.h
drivers/media/pci/cx18/cx18-fileops.c
drivers/media/pci/cx18/cx18-streams.c
drivers/media/pci/cx23885/cx23888-ir.c
drivers/media/pci/ivtv/ivtv-cards.c
drivers/media/pci/pluto2/pluto2.c
drivers/media/pci/pt1/pt1.c
drivers/media/pci/pt1/va1j5jf8007s.c
drivers/media/pci/pt1/va1j5jf8007s.h
drivers/media/pci/pt1/va1j5jf8007t.c
drivers/media/pci/pt1/va1j5jf8007t.h
drivers/media/pci/saa7146/mxb.c
drivers/media/pci/tw5864/tw5864-video.c
drivers/media/platform/Kconfig
drivers/media/platform/arv.c
drivers/media/platform/blackfin/ppi.c
drivers/media/platform/davinci/dm355_ccdc.c
drivers/media/platform/davinci/dm644x_ccdc.c
drivers/media/platform/davinci/vpfe_capture.c
drivers/media/platform/exynos4-is/fimc-core.h
drivers/media/platform/exynos4-is/fimc-lite.h
drivers/media/platform/mtk-vcodec/vdec_vpu_if.h
drivers/media/platform/omap3isp/isp.c
drivers/media/platform/sti/hva/hva.h
drivers/media/platform/via-camera.h
drivers/media/radio/radio-maxiradio.c
drivers/media/radio/radio-mr800.c
drivers/media/radio/si470x/radio-si470x-common.c
drivers/media/radio/wl128x/fmdrv_common.h
drivers/media/rc/Kconfig
drivers/media/tuners/mt2063.c
drivers/media/tuners/si2157.c
drivers/media/tuners/tuner-i2c.h
drivers/media/usb/as102/as10x_cmd_cfg.c
drivers/media/usb/cx231xx/cx231xx-avcore.c
drivers/media/usb/em28xx/Kconfig
drivers/media/usb/gspca/autogain_functions.c
drivers/media/usb/gspca/cpia1.c
drivers/media/usb/gspca/stv06xx/stv06xx.h
drivers/media/usb/pvrusb2/pvrusb2-devattr.c
drivers/media/usb/tm6000/tm6000.h
drivers/media/usb/usbtv/Kconfig
drivers/media/v4l2-core/Kconfig
drivers/media/v4l2-core/v4l2-compat-ioctl32.c
drivers/media/v4l2-core/v4l2-dv-timings.c
include/media/dvb_frontend.h
include/media/dvb_vb2.h
include/media/dvbdev.h
include/media/v4l2-async.h
include/media/v4l2-common.h
include/media/v4l2-ctrls.h
include/media/v4l2-dev.h
include/media/v4l2-event.h
include/media/v4l2-subdev.h

index 3f69b948d102081d051547c2bb861b16d2569eaa..145e12bfb8190ab8274645c43493b9978fff6e1a 100644 (file)
@@ -80,11 +80,11 @@ config MEDIA_SDR_SUPPORT
 config MEDIA_CEC_SUPPORT
        bool "HDMI CEC support"
        ---help---
-         Enable support for HDMI CEC (Consumer Electronics Control),
-         which is an optional HDMI feature.
+        Enable support for HDMI CEC (Consumer Electronics Control),
+        which is an optional HDMI feature.
 
-         Say Y when you have an HDMI receiver, transmitter or a USB CEC
-         adapter that supports HDMI CEC.
+        Say Y when you have an HDMI receiver, transmitter or a USB CEC
+        adapter that supports HDMI CEC.
 
 source "drivers/media/cec/Kconfig"
 
index 3756ccf8338412fe1faf79650a1632e0be287b3c..05827ee2a40606291f8c5ae1e41756500ccaa2aa 100644 (file)
@@ -6,7 +6,7 @@
 dvb-net-$(CONFIG_DVB_NET) := dvb_net.o
 dvb-vb2-$(CONFIG_DVB_MMSP) := dvb_vb2.o
 
-dvb-core-objs := dvbdev.o dmxdev.o dvb_demux.o                 \
+dvb-core-objs := dvbdev.o dmxdev.o dvb_demux.o                 \
                 dvb_ca_en50221.o dvb_frontend.o                \
                 $(dvb-net-y) dvb_ringbuffer.o $(dvb-vb2-y) dvb_math.o
 
index 77858046d34703b981f10ace7c009b08b4cc0494..ca98fa4d3ffa1b171048d93e0ddb1ffa8c00c2e4 100644 (file)
@@ -786,7 +786,7 @@ exit:
  * @ca: CA instance.
  * @slot: Slot to write to.
  * @buf: The data in this buffer is treated as a complete link-level packet to
- *      be written.
+ *      be written.
  * @bytes_write: Size of ebuf.
  *
  * return: Number of bytes written, or < 0 on error.
index 0ef5f8614b580bdce10914f9aa7f07e8449bba52..786c56a4ef7630f31f688c54a3af0e520ec48c04 100644 (file)
@@ -963,7 +963,7 @@ static int cx24116_send_diseqc_msg(struct dvb_frontend *fe,
 
        /* Validate length */
        if (d->msg_len > sizeof(d->msg))
-                return -EINVAL;
+               return -EINVAL;
 
        /* Dump DiSEqC message */
        if (debug) {
index 1cc7c03cd032510ad3da878a0d23d6a66fc219ed..5706898e84cc8d0966128ead9136886e409c5cc2 100644 (file)
@@ -11727,7 +11727,7 @@ eof:
  *             - In case of UCODE_UPLOAD: I2C error.
  *             - In case of UCODE_VERIFY: I2C error or image on device
  *               is not equal to image provided to this control function.
- *     -EINVAL:
+ *     -EINVAL:
  *             - Invalid arguments.
  *             - Provided image is corrupt
  */
index b16fedbb53a3a23b80f643b737418e182dc7c84f..76466f7ec3a0b4d37333a96797cfcc47c1c49eb9 100644 (file)
@@ -10,7 +10,7 @@
  *
  * @adr:               I2C address of the DRX-K
  * @parallel_ts:       True means that the device uses parallel TS,
- *                     Serial otherwise.
+ *                     Serial otherwise.
  * @dynamic_clk:       True means that the clock will be dynamically
  *                     adjusted. Static clock otherwise.
  * @enable_merr_cfg:   Enable SIO_PDR_PERR_CFG/SIO_PDR_MVAL_CFG.
@@ -67,8 +67,8 @@ extern struct dvb_frontend *drxk_attach(const struct drxk_config *config,
 static inline struct dvb_frontend *drxk_attach(const struct drxk_config *config,
                                        struct i2c_adapter *i2c)
 {
-        printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
-        return NULL;
+       printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
+       return NULL;
 }
 #endif
 
index 6ce1b8f46a39c540b31f39a5395474c86c411817..36e95196dff4a724e0e94e9839b471c93735ea2a 100644 (file)
@@ -2057,7 +2057,7 @@ static void mb86a20s_release(struct dvb_frontend *fe)
 
 static int mb86a20s_get_frontend_algo(struct dvb_frontend *fe)
 {
-        return DVBFE_ALGO_HW;
+       return DVBFE_ALGO_HW;
 }
 
 static const struct dvb_frontend_ops mb86a20s_ops;
index 58247432a6286bd339567afa7a4be03b1d344a81..ca722084e534fcfa096e2e3d19df26e1e0d8cbc9 100644 (file)
@@ -764,7 +764,7 @@ MODULE_DEVICE_TABLE(i2c, mn88473_id_table);
 
 static struct i2c_driver mn88473_driver = {
        .driver = {
-               .name                = "mn88473",
+               .name                = "mn88473",
                .suppress_bind_attrs = true,
        },
        .probe          = mn88473_probe,
index 289653db68e40857832f8ac7b257461ecfa9b62f..afeb9536e9c92110ae774bf2bb9cd2e70e7fe814 100644 (file)
@@ -9,8 +9,8 @@ struct dvb_frontend *tda18271c2dd_attach(struct dvb_frontend *fe,
 static inline struct dvb_frontend *tda18271c2dd_attach(struct dvb_frontend *fe,
                                         struct i2c_adapter *i2c, u8 adr)
 {
-        printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
-        return NULL;
+       printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
+       return NULL;
 }
 #endif
 
index e2ea1f8af2838d3c4f0d93d0e83d4bd9111824ff..db4ed9b9df4c4b7dfb7aa2106209721dea48ad18 100644 (file)
@@ -777,12 +777,12 @@ config VIDEO_S5K6A3
          camera sensor.
 
 config VIDEO_S5K4ECGX
-        tristate "Samsung S5K4ECGX sensor support"
-        depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
+       tristate "Samsung S5K4ECGX sensor support"
+       depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
        select CRC32
-        ---help---
-          This is a V4L2 sensor-level driver for Samsung S5K4ECGX 5M
-          camera sensor with an embedded SoC image signal processor.
+       ---help---
+         This is a V4L2 sensor-level driver for Samsung S5K4ECGX 5M
+         camera sensor with an embedded SoC image signal processor.
 
 config VIDEO_S5K5BAF
        tristate "Samsung S5K5BAF sensor support"
index 11f9029433cf00d95855760567353f5d779229b2..4a441ee99dd8ba51a4f8c5449705d68e8398dc7c 100644 (file)
@@ -100,7 +100,7 @@ static const u8 adv7343_init_reg_val[] = {
 };
 
 /*
- *                         2^32
+ *                         2^32
  * FSC(reg) =  FSC (HZ) * --------
  *                       27000000
  */
index f19ad4ecd11ec6c0314b192e9e6910b2a1c8cb26..b6234c8231c9ae89089b669b532c53359ee79e99 100644 (file)
@@ -103,7 +103,7 @@ static const u8 adv7393_init_reg_val[] = {
 };
 
 /*
- *                         2^32
+ *                         2^32
  * FSC(reg) =  FSC (HZ) * --------
  *                       27000000
  */
index 2189980a0f29e821d8a285092ad18f210e85f32a..4a9c137095fee502eebe19e0994cc3c051832576 100644 (file)
@@ -2065,10 +2065,10 @@ static void cx23885_dif_setup(struct i2c_client *client, u32 ifHz)
 
        /* Assuming TV */
        /* Calculate the PLL frequency word based on the adjusted ifHz */
-        pll_freq = div_u64((u64)ifHz * 268435456, 50000000);
-        pll_freq_word = (u32)pll_freq;
+       pll_freq = div_u64((u64)ifHz * 268435456, 50000000);
+       pll_freq_word = (u32)pll_freq;
 
-        cx25840_write4(client, DIF_PLL_FREQ_WORD,  pll_freq_word);
+       cx25840_write4(client, DIF_PLL_FREQ_WORD,  pll_freq_word);
 
        /* Round down to the nearest 100KHz */
        ifHz = (ifHz / 100000) * 100000;
index 9b65c7d2fa84a56d8f2d23ecc0458b62abe1b9bb..548382b2b2e65f5db1ffd026ee9c9fb25efc1b38 100644 (file)
@@ -131,7 +131,7 @@ static inline struct cx25840_ir_state *to_ir_state(struct v4l2_subdev *sd)
  * Rx and Tx Clock Divider register computations
  *
  * Note the largest clock divider value of 0xffff corresponds to:
- *     (0xffff + 1) * 1000 / 108/2 MHz = 1,213,629.629... ns
+ *     (0xffff + 1) * 1000 / 108/2 MHz = 1,213,629.629... ns
  * which fits in 21 bits, so we'll use unsigned int for time arguments.
  */
 static inline u16 count_to_clock_divider(unsigned int d)
@@ -187,7 +187,7 @@ static inline unsigned int clock_divider_to_freq(unsigned int divider,
  * Low Pass Filter register calculations
  *
  * Note the largest count value of 0xffff corresponds to:
- *     0xffff * 1000 / 108/2 MHz = 1,213,611.11... ns
+ *     0xffff * 1000 / 108/2 MHz = 1,213,611.11... ns
  * which fits in 21 bits, so we'll use unsigned int for time arguments.
  */
 static inline u16 count_to_lpf_count(unsigned int d)
index e6b717b83b1899db9bd6e6ecf1a775c6750a907b..3b7ace395ee6d1b077c3b5809ebfd01ad870c2f6 100644 (file)
@@ -1791,7 +1791,7 @@ static int smiapp_set_format_source(struct v4l2_subdev *subdev,
        if (csi_format->compressed == old_csi_format->compressed)
                return 0;
 
-       valid_link_freqs = 
+       valid_link_freqs =
                &sensor->valid_link_freqs[sensor->csi_format->compressed
                                          - sensor->compressed_min_bpp];
 
index 654c44284787929974e1523a6bf52d8f1747038c..c43b7b844021c06a819d224ecb285eb8fe9f6e33 100644 (file)
 
 #define VIDEO_STD_NTSC_MJ_BIT_AS                 0x01
 #define VIDEO_STD_PAL_BDGHIN_BIT_AS              0x03
-#define VIDEO_STD_PAL_M_BIT_AS                  0x05
+#define VIDEO_STD_PAL_M_BIT_AS                  0x05
 #define VIDEO_STD_PAL_COMBINATION_N_BIT_AS      0x07
 #define VIDEO_STD_NTSC_4_43_BIT_AS              0x09
-#define VIDEO_STD_SECAM_BIT_AS                  0x0b
+#define VIDEO_STD_SECAM_BIT_AS                  0x0b
 
 /* Reserved 29h-2bh */
 
index 4f9c2395941be1575b02dfb5ff5f76e35daf5a53..2dfe91f2bd97e05d05eeacdd8926cfed88e6a160 100644 (file)
@@ -633,7 +633,7 @@ unsigned int cx18_v4l2_enc_poll(struct file *filp, poll_table *wait)
 
                if (v4l2_event_pending(&id->fh))
                        res |= POLLPRI;
-                if (eof && videobuf_poll == POLLERR)
+               if (eof && videobuf_poll == POLLERR)
                        return res | POLLHUP;
                return res | videobuf_poll;
        }
index f35f78d669858f9cc0491739f3aa00cb8f101e59..b9c6831c21c3d0517c927f32bca543d90628406c 100644 (file)
@@ -116,7 +116,7 @@ static int cx18_prepare_buffer(struct videobuf_queue *q,
        unsigned int width, unsigned int height,
        enum v4l2_field field)
 {
-        struct cx18 *cx = s->cx;
+       struct cx18 *cx = s->cx;
        int rc = 0;
 
        /* check settings */
index 040323b0f94557fce47419c6fd29a6e534addf04..b0d4e4437b8754780fbcfb7a95eeff8924859e86 100644 (file)
@@ -170,7 +170,7 @@ static inline int cx23888_ir_and_or4(struct cx23885_dev *dev, u32 addr,
  * Rx and Tx Clock Divider register computations
  *
  * Note the largest clock divider value of 0xffff corresponds to:
- *     (0xffff + 1) * 1000 / 108/2 MHz = 1,213,629.629... ns
+ *     (0xffff + 1) * 1000 / 108/2 MHz = 1,213,629.629... ns
  * which fits in 21 bits, so we'll use unsigned int for time arguments.
  */
 static inline u16 count_to_clock_divider(unsigned int d)
@@ -226,7 +226,7 @@ static inline unsigned int clock_divider_to_freq(unsigned int divider,
  * Low Pass Filter register calculations
  *
  * Note the largest count value of 0xffff corresponds to:
- *     0xffff * 1000 / 108/2 MHz = 1,213,611.11... ns
+ *     0xffff * 1000 / 108/2 MHz = 1,213,611.11... ns
  * which fits in 21 bits, so we'll use unsigned int for time arguments.
  */
 static inline u16 count_to_lpf_count(unsigned int d)
index 410d97bdf541d6ec34095840e70f64e293975aee..c63792964a03d4f9f5ac5b630dc6ff0ac16c57a7 100644 (file)
@@ -65,7 +65,7 @@ static struct ivtv_card_tuner_i2c ivtv_i2c_tda8290 = {
 
 /********************** card configuration *******************************/
 
-/* Please add new PCI IDs to: http://pci-ids.ucw.cz/ 
+/* Please add new PCI IDs to: http://pci-ids.ucw.cz/
    This keeps the PCI ID database up to date. Note that the entries
    must be added under vendor 0x4444 (Conexant) as subsystem IDs.
    New vendor IDs should still be added to the vendor ID list. */
index ecdca0ba3e6630902790000f8d7b21481b74349d..5e6fe686f420b5b73fb01bd0f8977bb58ac8c0e6 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2005 Andreas Oberritter <obi@linuxtv.org>
  *
  * based on pluto2.c 1.10 - http://instinct-wp8.no-ip.org/pluto/
- *     by Dany Salman <salmandany@yahoo.fr>
+ *     by Dany Salman <salmandany@yahoo.fr>
  *     Copyright (c) 2004 TDF
  *
  * This program is free software; you can redistribute it and/or modify
index ac16cf3b065bfcd132bc95b332e4296d2735f2ef..4f6867af831187f6640239dd0335dae44c6be3c4 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2009 HIRANO Takahito <hiranotaka@zng.info>
  *
  * based on pt1dvr - http://pt1dvr.sourceforge.jp/
- *     by Tomoaki Ishikawa <tomy@users.sourceforge.jp>
+ *     by Tomoaki Ishikawa <tomy@users.sourceforge.jp>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index 2cf776531dc643169c9edf2c9285ef60f2afcd14..f49867aef05449471c3c008281cf7ec3ff36d771 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2009 HIRANO Takahito <hiranotaka@zng.info>
  *
  * based on pt1dvr - http://pt1dvr.sourceforge.jp/
- *     by Tomoaki Ishikawa <tomy@users.sourceforge.jp>
+ *     by Tomoaki Ishikawa <tomy@users.sourceforge.jp>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index efbe6ccae8b42ee3093c55c7fa9450b58a04c9e2..f8ce5609095df568b0490c9d5e8f88afb9eed0d5 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2009 HIRANO Takahito <hiranotaka@zng.info>
  *
  * based on pt1dvr - http://pt1dvr.sourceforge.jp/
- *     by Tomoaki Ishikawa <tomy@users.sourceforge.jp>
+ *     by Tomoaki Ishikawa <tomy@users.sourceforge.jp>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index d9788d153bb69f228d99eaec4261f1e60b2fdd5e..a52984a6f9b33931d9fddcf5964051a4b39b0d99 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2009 HIRANO Takahito <hiranotaka@zng.info>
  *
  * based on pt1dvr - http://pt1dvr.sourceforge.jp/
- *     by Tomoaki Ishikawa <tomy@users.sourceforge.jp>
+ *     by Tomoaki Ishikawa <tomy@users.sourceforge.jp>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index 6fb119c6e73ac303bd19afbf7fb74f40a2f7a9c2..95eb7d294d20362bcb2908aa8ea7b92d79f82677 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2009 HIRANO Takahito <hiranotaka@zng.info>
  *
  * based on pt1dvr - http://pt1dvr.sourceforge.jp/
- *     by Tomoaki Ishikawa <tomy@users.sourceforge.jp>
+ *     by Tomoaki Ishikawa <tomy@users.sourceforge.jp>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index 0144f305ea24647db426a12608944c2baaf0dc2e..2526fc051b65d0d364f8382ea55fdf21a730f4e3 100644 (file)
@@ -3,7 +3,7 @@
 
     Copyright (C) 1998-2006 Michael Hunold <michael@mihu.de>
 
-    Visit http://www.themm.net/~mihu/linux/saa7146/mxb.html 
+    Visit http://www.themm.net/~mihu/linux/saa7146/mxb.html
     for further details about this card.
 
     This program is free software; you can redistribute it and/or modify
index e7bd2b8484e3dea151da347a9c369eedbabacfe5..ff2b7da90c088694a83f7c908536aebfd5c8a8a1 100644 (file)
@@ -730,7 +730,7 @@ static int tw5864_frameinterval_get(struct tw5864_input *input,
                frameinterval->denominator = 25;
                break;
        default:
-               dev_warn(&dev->pci->dev, "tw5864_frameinterval_get requested for unknown std %d\n",
+               dev_warn(&dev->pci->dev, "tw5864_frameinterval_get requested for unknown std %d\n",
                         input->std);
                return -EINVAL;
        }
index fd0c99859d6f4b8bd9d00e9d609deec6e11890fe..614fbef08ddcabb070b262f760ea128b7ca01ed5 100644 (file)
@@ -353,10 +353,10 @@ config VIDEO_STI_HVA_DEBUGFS
        depends on DEBUG_FS
        help
          Select this to see information about the internal state and the last
-          operation of STMicroelectronics HVA multi-format video encoder in
-          debugfs.
+         operation of STMicroelectronics HVA multi-format video encoder in
+         debugfs.
 
-          Choose N unless you know you need this.
+         Choose N unless you know you need this.
 
 config VIDEO_STI_DELTA
        tristate "STMicroelectronics DELTA multi-format video decoder V4L2 driver"
@@ -586,10 +586,10 @@ config VIDEO_SAMSUNG_S5P_CEC
        select CEC_CORE
        select CEC_NOTIFIER
        ---help---
-         This is a driver for Samsung S5P HDMI CEC interface. It uses the
-         generic CEC framework interface.
-         CEC bus is present in the HDMI connector and enables communication
-         between compatible devices.
+        This is a driver for Samsung S5P HDMI CEC interface. It uses the
+        generic CEC framework interface.
+        CEC bus is present in the HDMI connector and enables communication
+        between compatible devices.
 
 config VIDEO_STI_HDMI_CEC
        tristate "STMicroelectronics STiH4xx HDMI CEC driver"
@@ -597,10 +597,10 @@ config VIDEO_STI_HDMI_CEC
        select CEC_CORE
        select CEC_NOTIFIER
        ---help---
-         This is a driver for STIH4xx HDMI CEC interface. It uses the
-         generic CEC framework interface.
-         CEC bus is present in the HDMI connector and enables communication
-         between compatible devices.
+        This is a driver for STIH4xx HDMI CEC interface. It uses the
+        generic CEC framework interface.
+        CEC bus is present in the HDMI connector and enables communication
+        between compatible devices.
 
 config VIDEO_STM32_HDMI_CEC
        tristate "STMicroelectronics STM32 HDMI CEC driver"
@@ -609,10 +609,10 @@ config VIDEO_STM32_HDMI_CEC
        select REGMAP_MMIO
        select CEC_CORE
        ---help---
-         This is a driver for STM32 interface. It uses the
-         generic CEC framework interface.
-         CEC bus is present in the HDMI connector and enables communication
-         between compatible devices.
+        This is a driver for STM32 interface. It uses the
+        generic CEC framework interface.
+        CEC bus is present in the HDMI connector and enables communication
+        between compatible devices.
 
 config VIDEO_TEGRA_HDMI_CEC
        tristate "Tegra HDMI CEC driver"
@@ -620,10 +620,10 @@ config VIDEO_TEGRA_HDMI_CEC
        select CEC_CORE
        select CEC_NOTIFIER
        ---help---
-         This is a driver for the Tegra HDMI CEC interface. It uses the
-         generic CEC framework interface.
-         The CEC bus is present in the HDMI connector and enables communication
-         between compatible devices.
+        This is a driver for the Tegra HDMI CEC interface. It uses the
+        generic CEC framework interface.
+        The CEC bus is present in the HDMI connector and enables communication
+        between compatible devices.
 
 endif #CEC_PLATFORM_DRIVERS
 
index 8fe59bf6cd3fc61c7c62026a36389454f4ca23fa..1351374bb1efd4026912897a6ac549c128538330 100644 (file)
@@ -66,7 +66,7 @@ extern struct cpuinfo_m32r    boot_cpu_data;
  *     Note that M32700UT does not support CIF mode, but QVGA is
  *     supported by M32700UT hardware using VGA mode of AR LSI.
  *
- *     Supported: VGA  (Normal mode, Interlace mode)
+ *     Supported: VGA  (Normal mode, Interlace mode)
  *                QVGA (Always Interlace mode of VGA)
  *
  */
@@ -590,7 +590,7 @@ static void ar_interrupt(int irq, void *dev)
 
 /*
  * ar_initialize()
- *     ar_initialize() is called by video_register_device() and
+ *     ar_initialize() is called by video_register_device() and
  *     initializes AR LSI and peripherals.
  *
  *     -1 is returned in all failures.
index 478eb2f7d723f657e85b36264ff38f698226c0bd..d3dc765c1609d62ad52fbb0256fa3d4668b774a0 100644 (file)
@@ -52,7 +52,7 @@ static irqreturn_t ppi_irq_err(int irq, void *dev_id)
                struct bfin_ppi_regs *reg = info->base;
                unsigned short status;
 
-               /* register on bf561 is cleared when read 
+               /* register on bf561 is cleared when read
                 * others are W1C
                 */
                status = bfin_read16(&reg->status);
index 89cb3094d7e661ef8633c4ccd194a9f669c91c4a..238d01b7f066a44f5b20041ae57dbf2fa9e509c6 100644 (file)
  * pre-process the Bayer RGB data, before writing it to SDRAM.
  *
  * TODO: 1) Raw bayer parameter settings and bayer capture
- *      2) Split module parameter structure to module specific ioctl structs
+ *      2) Split module parameter structure to module specific ioctl structs
  *      3) add support for lense shading correction
  *      4) investigate if enum used for user space type definition
- *         to be replaced by #defines or integer
+ *         to be replaced by #defines or integer
  */
 #include <linux/platform_device.h>
 #include <linux/uaccess.h>
index 5fa0a1f325361be537c254eb6394ee364a59639c..592d3fc91e26ce2da176578e7b916acd71cd6b5a 100644 (file)
@@ -22,9 +22,9 @@
  * may be supported using the same module.
  *
  * TODO: Test Raw bayer parameter settings and bayer capture
- *      Split module parameter structure to module specific ioctl structs
- *      investigate if enum used for user space type definition
- *      to be replaced by #defines or integer
+ *      Split module parameter structure to module specific ioctl structs
+ *      investigate if enum used for user space type definition
+ *      to be replaced by #defines or integer
  */
 #include <linux/platform_device.h>
 #include <linux/uaccess.h>
index 7b3f6f8e3dc8391ced82f7f8605a2a6a48e22711..498f69b53de3ebbd5164c072b5308c7d6c1c3fd7 100644 (file)
@@ -26,8 +26,8 @@
  *
  *
  *    decoder(TVP5146/         YUV/
- *          MT9T001)   -->  Raw Bayer RGB ---> MUX -> VPFE (CCDC/ISIF)
- *                             data input              |      |
+ *          MT9T001)   -->  Raw Bayer RGB ---> MUX -> VPFE (CCDC/ISIF)
+ *                             data input              |      |
  *                                                     V      |
  *                                                   SDRAM    |
  *                                                            V
@@ -47,7 +47,7 @@
  *    block such as IPIPE (on DM355 only).
  *
  *    Features supported
- *             - MMAP IO
+ *             - MMAP IO
  *             - Capture using TVP5146 over BT.656
  *             - support for interfacing decoders using sub device model
  *             - Work with DM355 or DM6446 CCDC to do Raw Bayer RGB/YUV
index c0373aede81ab19981d429929b40a40f8c521ed7..82d514df97f04df7da66f1f1cf7eb7ddb5e72923 100644 (file)
@@ -303,7 +303,7 @@ struct fimc_m2m_device {
  * @input: capture input type, grp_id of the attached subdev
  * @user_subdev_api: true if subdevs are not configured by the host driver
  * @inh_sensor_ctrls: a flag indicating v4l2 controls are inherited from
- *                   an image sensor subdev
+ *                   an image sensor subdev
  */
 struct fimc_vid_cap {
        struct fimc_ctx                 *ctx;
index 9ae1e96a1bc7b1f7d3ee00770379d5fd51c1aab1..3e238b8c834ae1a121f8f5430dfe9232d28bdc1d 100644 (file)
@@ -56,9 +56,9 @@ enum {
  * @max_height: maximum camera interface input height in pixels
  * @out_width_align: minimum output width alignment in pixels
  * @win_hor_offs_align: minimum camera interface crop window horizontal
- *                     offset alignment in pixels
+ *                     offset alignment in pixels
  * @out_hor_offs_align: minimum output DMA compose rectangle horizontal
- *                     offset alignment in pixels
+ *                     offset alignment in pixels
  * @max_dma_bufs: number of output DMA buffer start address registers
  * @num_instances: total number of FIMC-LITE IP instances available
  */
index 0dc9ed01fffe8cca9b8728d50494074fad06314b..cd37bb2a610f20af0f3252d6d25a946e72652566 100644 (file)
@@ -26,7 +26,7 @@
  * @inst_addr  : VPU decoder instance address
  * @signaled    : 1 - Host has received ack message from VPU, 0 - not received
  * @ctx         : context for v4l2 layer integration
- * @dev                : platform device of VPU
+ * @dev                : platform device of VPU
  * @wq          : wait queue to wait VPU message ack
  * @handler     : ipi handler for each decoder
  */
index b7ff3842afc0df9c9315bd45539a47c5eaa90f4e..8eb000e3d8fdd188f0ff6303fb1949204a1ef2cd 100644 (file)
@@ -920,7 +920,7 @@ static void isp_pipeline_suspend(struct isp_pipeline *pipe)
 
 /*
  * isp_pipeline_is_last - Verify if entity has an enabled link to the output
- *                       video node
+ *                       video node
  * @me: ISP module's media entity
  *
  * Returns 1 if the entity has an enabled link to the output video node or 0
index 8882d901d119a580fc9ceef345dea47685bb04d0..1226d60cc367ed4f75301d297c2a5f2c6dcfb078 100644 (file)
@@ -245,7 +245,7 @@ struct hva_enc;
  * @dbg:             context debug info
  */
 struct hva_ctx {
-       struct hva_dev                  *hva_dev;
+       struct hva_dev                  *hva_dev;
        struct v4l2_fh                  fh;
        struct v4l2_ctrl_handler        ctrl_handler;
        struct hva_controls             ctrls;
index 2d67f8ce258d7196e584faa655694e985250be4c..54f16318b1b3d5fb8304f81fca248ef283d84e4b 100644 (file)
@@ -29,7 +29,7 @@
 #define   VCR_CI_BSS     0x00000002  /* WTF "bit stream selection" */
 #define   VCR_CI_3BUFS   0x00000004  /* 1 = 3 buffers, 0 = 2 buffers */
 #define   VCR_CI_VIPEN   0x00000008  /* VIP enable */
-#define   VCR_CI_CCIR601_8  0          /* CCIR601 input stream, 8 bit */
+#define   VCR_CI_CCIR601_8  0          /* CCIR601 input stream, 8 bit */
 #define   VCR_CI_CCIR656_8  0x00000010  /* ... CCIR656, 8 bit */
 #define   VCR_CI_CCIR601_16 0x00000020  /* ... CCIR601, 16 bit */
 #define   VCR_CI_CCIR656_16 0x00000030  /* ... CCIR656, 16 bit */
index 3aa5ad3915815407b3e7727fd1bd861125bb57e9..95f06f3b35dc7b498fc437b5e6d25eebe425bb0b 100644 (file)
@@ -13,7 +13,7 @@
  * anybody does please mail me.
  *
  * For the pdf file see:
- * http://www.nxp.com/acrobat_download2/expired_datasheets/TEA5757_5759_3.pdf 
+ * http://www.nxp.com/acrobat_download2/expired_datasheets/TEA5757_5759_3.pdf
  *
  *
  * CHANGES:
index c9f59129af7938d9d9d56a465c5b2dc36f833e1a..dc6c4f9859117d9c8ad7d5b74a88c8f41ce1005c 100644 (file)
  * http://www.spinics.net/lists/linux-usb-devel/msg10109.html
  *
  * Version 0.01:       First working version.
- *                     It's required to blacklist AverMedia USB Radio
- *                     in usbhid/hid-quirks.c
+ *                     It's required to blacklist AverMedia USB Radio
+ *                     in usbhid/hid-quirks.c
  * Version 0.10:       A lot of cleanups and fixes: unpluging the device,
- *                     few mutex locks were added, codinstyle issues, etc.
- *                     Added stereo support. Thanks to
- *                     Douglas Schilling Landgraf <dougsland@gmail.com> and
- *                     David Ellingsworth <david@identd.dyndns.org>
- *                     for discussion, help and support.
+ *                     few mutex locks were added, codinstyle issues, etc.
+ *                     Added stereo support. Thanks to
+ *                     Douglas Schilling Landgraf <dougsland@gmail.com> and
+ *                     David Ellingsworth <david@identd.dyndns.org>
+ *                     for discussion, help and support.
  * Version 0.11:       Converted to v4l2_device.
  *
  * Many things to do:
- *     - Correct power management of device (suspend & resume)
- *     - Add code for scanning and smooth tuning
- *     - Add code for sensitivity value
- *     - Correct mistakes
- *     - In Japan another FREQ_MIN and FREQ_MAX
+ *     - Correct power management of device (suspend & resume)
+ *     - Add code for scanning and smooth tuning
+ *     - Add code for sensitivity value
+ *     - Correct mistakes
+ *     - In Japan another FREQ_MIN and FREQ_MAX
  */
 
 /* kernel includes */
index c89a7d5b8c55272ecff69d8cb6eb7c6b0f235447..63869388152b49ceaf7be43cdcb6e29b73d0c378 100644 (file)
  *             - switched from bit structs to bit masks
  *             - header file cleaned and integrated
  * 2008-01-14  Tobias Lorenz <tobias.lorenz@gmx.net>
- *             Version 1.0.2
- *             - hex values are now lower case
- *             - commented USB ID for ADS/Tech moved on todo list
- *             - blacklisted si470x in hid-quirks.c
- *             - rds buffer handling functions integrated into *_work, *_read
- *             - rds_command in si470x_poll exchanged against simple retval
- *             - check for firmware version 15
- *             - code order and prototypes still remain the same
- *             - spacing and bottom of band codes remain the same
+ *             Version 1.0.2
+ *             - hex values are now lower case
+ *             - commented USB ID for ADS/Tech moved on todo list
+ *             - blacklisted si470x in hid-quirks.c
+ *             - rds buffer handling functions integrated into *_work, *_read
+ *             - rds_command in si470x_poll exchanged against simple retval
+ *             - check for firmware version 15
+ *             - code order and prototypes still remain the same
+ *             - spacing and bottom of band codes remain the same
  * 2008-01-16  Tobias Lorenz <tobias.lorenz@gmx.net>
  *             Version 1.0.3
- *             - code reordered to avoid function prototypes
+ *             - code reordered to avoid function prototypes
  *             - switch/case defaults are now more user-friendly
  *             - unified comment style
  *             - applied all checkpatch.pl v1.12 suggestions
@@ -88,8 +88,8 @@
  *             - more safety checks, let si470x_get_freq return errno
  *             - vidioc behavior corrected according to v4l2 spec
  * 2008-10-20  Alexey Klimov <klimov.linux@gmail.com>
- *             - add support for KWorld USB FM Radio FM700
- *             - blacklisted KWorld radio in hid-core.c and hid-ids.h
+ *             - add support for KWorld USB FM Radio FM700
+ *             - blacklisted KWorld radio in hid-core.c and hid-ids.h
  * 2008-12-03  Mark Lord <mlord@pobox.com>
  *             - add support for DealExtreme USB Radio
  * 2009-01-31  Bob Ross <pigiron@gmx.com>
index 7f1514eb1c07349720ecb7ae2d380beffdc8b81a..552e22ea6bf313e16f32654a0ae55d06e1da55bf 100644 (file)
@@ -311,11 +311,11 @@ struct fm_event_msg_hdr {
 #define FM_RDS_GROUP_TYPE_MASK_15B         ((unsigned long)1<<31)
 
 /* RX Alternate Frequency info */
-#define FM_RDS_MIN_AF                    1
-#define FM_RDS_MAX_AF                  204
-#define FM_RDS_MAX_AF_JAPAN            140
-#define FM_RDS_1_AF_FOLLOWS            225
-#define FM_RDS_25_AF_FOLLOWS           249
+#define FM_RDS_MIN_AF                    1
+#define FM_RDS_MAX_AF                  204
+#define FM_RDS_MAX_AF_JAPAN            140
+#define FM_RDS_1_AF_FOLLOWS            225
+#define FM_RDS_25_AF_FOLLOWS           249
 
 /* RDS system type (RDS/RBDS) */
 #define FM_RDS_SYSTEM_RDS              0
index 0f863822889edb65e4dd89eacb8bb8d9a3654a84..f14ead5954e0353ce73d1c23e129433c62d7b451 100644 (file)
@@ -26,7 +26,7 @@ config LIRC
           IR transmitting (aka "blasting") and for the lirc daemon.
 
 menuconfig RC_DECODERS
-        bool "Remote controller decoders"
+       bool "Remote controller decoders"
        depends on RC_CORE
        default y
 
@@ -452,9 +452,9 @@ config IR_SERIAL_TRANSMITTER
           Serial Port Transmitter support
 
 config IR_SIR
-        tristate "Built-in SIR IrDA port"
-        depends on RC_CORE
-        ---help---
+       tristate "Built-in SIR IrDA port"
+       depends on RC_CORE
+       ---help---
           Say Y if you want to use a IrDA SIR port Transceivers.
 
           To compile this driver as a module, choose M here: the module will
index 5c87c5c6a455691a1366b623ceedd21b9e6b5120..80dc3e241b4a5c3141ab1a605b14c086863b650f 100644 (file)
@@ -1168,7 +1168,7 @@ static u32 mt2063_set_dnc_output_enable(struct mt2063_state *state,
 
 /*
  * MT2063_SetReceiverMode() - Set the MT2063 receiver mode, according with
- *                           the selected enum mt2063_delivery_sys type.
+ *                           the selected enum mt2063_delivery_sys type.
  *
  *  (DNC1GC & DNC2GC are the values, which are used, when the specific
  *   DNC Output is selected, the other is always off)
@@ -1544,7 +1544,7 @@ static u32 MT2063_Tune(struct mt2063_state *state, u32 f_in)
         * Save original LO1 and LO2 register values
         */
        ofLO1 = state->AS_Data.f_LO1;
-       ofLO2 = state->AS_Data.f_LO2; 
+       ofLO2 = state->AS_Data.f_LO2;
 
        /*
         * Find and set RF Band setting
index e35b1faf0ddc0d68d199be1e5c4dd65e319684b4..9e34d31d724d78b30950609e32e4b66231d6fd7d 100644 (file)
@@ -532,7 +532,7 @@ MODULE_DEVICE_TABLE(i2c, si2157_id_table);
 
 static struct i2c_driver si2157_driver = {
        .driver = {
-               .name                = "si2157",
+               .name                = "si2157",
                .suppress_bind_attrs = true,
        },
        .probe          = si2157_probe,
index bda67a5a76f2e33040da37f06272e89c4cf5fbdb..56dc2339a98969d58b2592af88c34f8ba84b1590 100644 (file)
@@ -75,7 +75,7 @@ static inline int tuner_i2c_xfer_send_recv(struct tuner_i2c_props *props,
  *
  * state structure must contain the following:
  *
- *     struct list_head        hybrid_tuner_instance_list;
+ *     struct list_head        hybrid_tuner_instance_list;
  *     struct tuner_i2c_props  i2c_props;
  *
  * hybrid_tuner_instance_list (both within state structure and globally)
index c87f2ca223a255c31972546cc36346a57315efca..fabbfead96d83d727f926e9df3bc89861d6999dc 100644 (file)
@@ -133,9 +133,9 @@ out:
  * as10x_cmd_eLNA_change_mode - send eLNA change mode command to AS10x
  * @adap:      pointer to AS10x bus adapter
  * @mode:      mode selected:
- *             - ON    : 0x0 => eLNA always ON
- *             - OFF   : 0x1 => eLNA always OFF
- *             - AUTO  : 0x2 => eLNA follow hysteresis parameters
+ *             - ON    : 0x0 => eLNA always ON
+ *             - OFF   : 0x1 => eLNA always OFF
+ *             - AUTO  : 0x2 => eLNA follow hysteresis parameters
  *                              to be ON or OFF
  *
  * Return 0 on success or negative value in case of error.
index 2f52d66b4daec65cfb64a07244182d314ecb008e..0df62d3951cfc80b1d131076fab84f54a615939b 100644 (file)
@@ -105,7 +105,7 @@ void uninitGPIO(struct cx231xx *dev)
 
 /******************************************************************************
  *                    A F E - B L O C K    C O N T R O L   functions          *
- *                             [ANALOG FRONT END]                            *
+ *                             [ANALOG FRONT END]                            *
  ******************************************************************************/
 static int afe_write_byte(struct cx231xx *dev, u16 saddr, u8 data)
 {
index 4cc029f18aa8813c4a576c3ca0ea13b9e3449c35..451e076525d3474dd85549c80a65067f59b20736 100644 (file)
@@ -71,10 +71,10 @@ config VIDEO_EM28XX_DVB
          Empiatech em28xx chips.
 
 config VIDEO_EM28XX_RC
-        tristate "EM28XX Remote Controller support"
-        depends on RC_CORE
-        depends on VIDEO_EM28XX
-        depends on !(RC_CORE=m && VIDEO_EM28XX=y)
-        default VIDEO_EM28XX
-        ---help---
-          Enables Remote Controller support on em28xx driver.
+       tristate "EM28XX Remote Controller support"
+       depends on RC_CORE
+       depends on VIDEO_EM28XX
+       depends on !(RC_CORE=m && VIDEO_EM28XX=y)
+       default VIDEO_EM28XX
+       ---help---
+         Enables Remote Controller support on em28xx driver.
index f721e83596be18464596baa7a186374821ecd8b1..6dfab2b077f78f2964f3dbca741400be3a856873 100644 (file)
@@ -32,7 +32,7 @@ int gspca_expo_autogain(
        int i, steps, retval = 0;
 
        if (v4l2_ctrl_g_ctrl(gspca_dev->autogain) == 0)
-               return 0;
+               return 0;
 
        orig_gain = gain = v4l2_ctrl_g_ctrl(gspca_dev->gain);
        orig_exposure = exposure = v4l2_ctrl_g_ctrl(gspca_dev->exposure);
@@ -75,11 +75,11 @@ int gspca_expo_autogain(
        }
 
        if (gain != orig_gain) {
-               v4l2_ctrl_s_ctrl(gspca_dev->gain, gain);
+               v4l2_ctrl_s_ctrl(gspca_dev->gain, gain);
                retval = 1;
        }
        if (exposure != orig_exposure) {
-               v4l2_ctrl_s_ctrl(gspca_dev->exposure, exposure);
+               v4l2_ctrl_s_ctrl(gspca_dev->exposure, exposure);
                retval = 1;
        }
 
@@ -112,7 +112,7 @@ int gspca_coarse_grained_expo_autogain(
        int steps, retval = 0;
 
        if (v4l2_ctrl_g_ctrl(gspca_dev->autogain) == 0)
-               return 0;
+               return 0;
 
        orig_gain = gain = v4l2_ctrl_g_ctrl(gspca_dev->gain);
        orig_exposure = exposure = v4l2_ctrl_g_ctrl(gspca_dev->exposure);
@@ -158,11 +158,11 @@ int gspca_coarse_grained_expo_autogain(
        }
 
        if (gain != orig_gain) {
-               v4l2_ctrl_s_ctrl(gspca_dev->gain, gain);
+               v4l2_ctrl_s_ctrl(gspca_dev->gain, gain);
                retval = 1;
        }
        if (exposure != orig_exposure) {
-               v4l2_ctrl_s_ctrl(gspca_dev->exposure, exposure);
+               v4l2_ctrl_s_ctrl(gspca_dev->exposure, exposure);
                retval = 1;
        }
 
index 8d41cd46a79d64af927b37e1be41ef8b58836e0e..2b09af8865f40f5fc91cc943205e42cf921f9462 100644 (file)
@@ -543,7 +543,7 @@ static int do_command(struct gspca_dev *gspca_dev, u16 command,
                        input_report_key(gspca_dev->input_dev, KEY_CAMERA, a);
                        input_sync(gspca_dev->input_dev);
 #endif
-                       sd->params.qx3.button = a;
+                       sd->params.qx3.button = a;
                }
                if (sd->params.qx3.button) {
                        /* button pressed - unlock the latch */
index f9d74e4d7cf95153943c4a94ea683bb7ed881f3a..480186706bba3441468b41d7366894ccd4acaea8 100644 (file)
@@ -59,7 +59,7 @@
 
 /* Refers to the CIF 352x288 and QCIF 176x144 */
 /* 1: 288 lines, 2: 144 lines */
-#define STV_Y_CTRL                     0x15c3
+#define STV_Y_CTRL                     0x15c3
 
 #define STV_RESET                       0x1620
 
index 51b3312eaea13421097053e7955e2c1ac5128464..71537097c13f965c30f26f5f82efe74eaaeda312 100644 (file)
@@ -319,12 +319,12 @@ static struct tda829x_config tda829x_no_probe = {
 };
 
 static struct tda18271_std_map hauppauge_tda18271_dvbt_std_map = {
-        .dvbt_6   = { .if_freq = 3300, .agc_mode = 3, .std = 4,
-                      .if_lvl = 1, .rfagc_top = 0x37, },
-        .dvbt_7   = { .if_freq = 3800, .agc_mode = 3, .std = 5,
-                      .if_lvl = 1, .rfagc_top = 0x37, },
-        .dvbt_8   = { .if_freq = 4300, .agc_mode = 3, .std = 6,
-                      .if_lvl = 1, .rfagc_top = 0x37, },
+       .dvbt_6   = { .if_freq = 3300, .agc_mode = 3, .std = 4,
+                     .if_lvl = 1, .rfagc_top = 0x37, },
+       .dvbt_7   = { .if_freq = 3800, .agc_mode = 3, .std = 5,
+                     .if_lvl = 1, .rfagc_top = 0x37, },
+       .dvbt_8   = { .if_freq = 4300, .agc_mode = 3, .std = 6,
+                     .if_lvl = 1, .rfagc_top = 0x37, },
 };
 
 static struct tda18271_config hauppauge_tda18271_dvb_config = {
index 23a0ceb4bfea8e9a018709da100ad57459c9543a..e1e45770e28d91b2e912e41afc1bd64fcea16558 100644 (file)
@@ -177,7 +177,7 @@ struct tm6000_core {
        struct tm6000_capabilities      caps;
 
        /* Used to load alsa/dvb */
-        struct work_struct             request_module_wk;
+       struct work_struct              request_module_wk;
 
        /* Tuner configuration */
        int                             tuner_type;             /* type of the tuner */
index b833c5b9094edb33fbac7fd167a09710b065fbd2..14a0941fa0d0732096c070534b7a8611d97c43d5 100644 (file)
@@ -1,11 +1,11 @@
 config VIDEO_USBTV
-        tristate "USBTV007 video capture support"
-        depends on VIDEO_V4L2 && SND
-        select SND_PCM
-        select VIDEOBUF2_VMALLOC
+       tristate "USBTV007 video capture support"
+       depends on VIDEO_V4L2 && SND
+       select SND_PCM
+       select VIDEOBUF2_VMALLOC
 
-        ---help---
-          This is a video4linux2 driver for USBTV007 based video capture devices.
+       ---help---
+         This is a video4linux2 driver for USBTV007 based video capture devices.
 
-          To compile this driver as a module, choose M here: the
-          module will be called usbtv
+         To compile this driver as a module, choose M here: the
+         module will be called usbtv
index fbcb275e867bab19e249b1a3931d967101436f2a..bf52fbd07aeddc3f228cef870d05e9622699bd03 100644 (file)
@@ -41,8 +41,8 @@ config VIDEO_TUNER
 
 # Used by drivers that need v4l2-mem2mem.ko
 config V4L2_MEM2MEM_DEV
-        tristate
-        depends on VIDEOBUF2_CORE
+       tristate
+       depends on VIDEOBUF2_CORE
 
 # Used by LED subsystem flash drivers
 config V4L2_FLASH_LED_CLASS
index 821f2aa299ae53bc10e75bc788c9dca0ac666d63..8d79691b1dceeede2b487f26bca1ebf6ccd10d4b 100644 (file)
@@ -38,7 +38,7 @@ struct v4l2_clip32 {
 
 struct v4l2_window32 {
        struct v4l2_rect        w;
-       __u32                   field;  /* enum v4l2_field */
+       __u32                   field;  /* enum v4l2_field */
        __u32                   chromakey;
        compat_caddr_t          clips; /* actually struct v4l2_clip32 * */
        __u32                   clipcount;
index 930f9c53a64e4247b74459f1e1a465b2dee13db8..e2ee5f00c4453726c7cb7cf8f35c57285ec13ffd 100644 (file)
@@ -249,7 +249,7 @@ EXPORT_SYMBOL_GPL(v4l2_find_dv_timings_cea861_vic);
  * @t2: with this struct.
  * @pclock_delta: the allowed pixelclock deviation.
  * @match_reduced_fps: if true, then fail if V4L2_DV_FL_REDUCED_FPS does not
- *     match.
+ *     match.
  *
  * Compare t1 with t2 with a given margin of error for the pixelclock.
  */
index 0b40886fd7d371088405eccef7a7aecd6aae2da3..331c8269c00efe48d27d786bc4d6056f4a8955bc 100644 (file)
@@ -99,10 +99,10 @@ struct dvb_tuner_info {
  * struct analog_parameters - Parameters to tune into an analog/radio channel
  *
  * @frequency: Frequency used by analog TV tuner (either in 62.5 kHz step,
- *             for TV, or 62.5 Hz for radio)
+ *             for TV, or 62.5 Hz for radio)
  * @mode:      Tuner mode, as defined on enum v4l2_tuner_type
  * @audmode:   Audio mode as defined for the rxsubchans field at videodev2.h,
- *             e. g. V4L2_TUNER_MODE_*
+ *             e. g. V4L2_TUNER_MODE_*
  * @std:       TV standard bitmap as defined at videodev2.h, e. g. V4L2_STD_*
  *
  * Hybrid tuners should be supported by both V4L2 and DVB APIs. This
@@ -205,7 +205,7 @@ enum dvbfe_search {
  * @get_frequency:     get the actual tuned frequency
  * @get_bandwidth:     get the bandwitdh used by the low pass filters
  * @get_if_frequency:  get the Intermediate Frequency, in Hz. For baseband,
- *                     should return 0.
+ *                     should return 0.
  * @get_status:                returns the frontend lock status
  * @get_rf_strength:   returns the RF signal strength. Used mostly to support
  *                     analog TV and radio. Digital TV should report, instead,
@@ -364,7 +364,7 @@ struct dtv_frontend_properties;
  *                     implementing this callback only if DVBv3 API
  *                     compatibility is wanted.
  * @read_snr:          legacy callback function to return the Signal/Noise
- *                     rate. Newer drivers should provide such info via
+ *                     rate. Newer drivers should provide such info via
  *                     DVBv5 API, e. g. @set_frontend/@get_frontend,
  *                     implementing this callback only if DVBv3 API
  *                     compatibility is wanted.
@@ -490,7 +490,7 @@ struct dvb_fe_events {
  * @fec_inner:         Forward error correction inner Code Rate
  * @transmission_mode: Transmission Mode
  * @bandwidth_hz:      Bandwidth, in Hz. A zero value means that userspace
- *                     wants to autodetect.
+ *                     wants to autodetect.
  * @guard_interval:    Guard Interval
  * @hierarchy:         Hierarchy
  * @symbol_rate:       Symbol Rate
@@ -538,7 +538,7 @@ struct dvb_fe_events {
  * @lna:               Power ON/OFF/AUTO the Linear Now-noise Amplifier (LNA)
  * @strength:          DVBv5 API statistics: Signal Strength
  * @cnr:               DVBv5 API statistics: Signal to Noise ratio of the
- *                     (main) carrier
+ *                     (main) carrier
  * @pre_bit_error:     DVBv5 API statistics: pre-Viterbi bit error count
  * @pre_bit_count:     DVBv5 API statistics: pre-Viterbi bit count
  * @post_bit_error:    DVBv5 API statistics: post-Viterbi bit error count
index 5431e5a7e140881c59610e3fae6119376588797e..dda61af7c4cd8ea5225b2b54c55379eb28ba3f19 100644 (file)
@@ -213,7 +213,7 @@ int dvb_vb2_reqbufs(struct dvb_vb2_ctx *ctx, struct dmx_requestbuffers *req);
  * @b:         &struct dmx_buffer passed from userspace in
  *             order to handle &DMX_QUERYBUF.
  *
- * 
+ *
  */
 int dvb_vb2_querybuf(struct dvb_vb2_ctx *ctx, struct dmx_buffer *b);
 
index bbc1c20c0529fd209e2012c1e090fd99fd903fc8..554db879527f32b230b362a152a822a4bfe2ea47 100644 (file)
@@ -193,7 +193,7 @@ struct dvb_device {
  * @module:    initialized with THIS_MODULE at the caller
  * @device:    pointer to struct device that corresponds to the device driver
  * @adapter_nums: Array with a list of the numbers for @dvb_register_adapter;
- *             to select among them. Typically, initialized with:
+ *             to select among them. Typically, initialized with:
  *             DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nums)
  */
 int dvb_register_adapter(struct dvb_adapter *adap, const char *name,
@@ -259,7 +259,7 @@ void dvb_unregister_device(struct dvb_device *dvbdev);
 #ifdef CONFIG_MEDIA_CONTROLLER_DVB
 /**
  * dvb_create_media_graph - Creates media graph for the Digital TV part of the
- *                             device.
+ *                             device.
  *
  * @adap:                      pointer to &struct dvb_adapter
  * @create_rf_connector:       if true, it creates the RF connector too
index 96e19246b9344ebcce641e013f0400b0a29e56f4..1592d323c577d7125c1cf851b668a170112f753d 100644 (file)
@@ -28,7 +28,7 @@ struct v4l2_async_notifier;
  *     in order to identify a match
  *
  * @V4L2_ASYNC_MATCH_CUSTOM: Match will use the logic provided by &struct
- *     v4l2_async_subdev.match ops
+ *     v4l2_async_subdev.match ops
  * @V4L2_ASYNC_MATCH_DEVNAME: Match will use the device name
  * @V4L2_ASYNC_MATCH_I2C: Match will check for I2C adapter ID and address
  * @V4L2_ASYNC_MATCH_FWNODE: Match will use firmware node
@@ -55,7 +55,7 @@ enum v4l2_async_match_type {
  *             string containing the device name to be matched.
  *             Used if @match_type is %V4L2_ASYNC_MATCH_DEVNAME.
  * @match.i2c: embedded struct with I2C parameters to be matched.
- *             Both @match.i2c.adapter_id and @match.i2c.address
+ *             Both @match.i2c.adapter_id and @match.i2c.address
  *             should be matched.
  *             Used if @match_type is %V4L2_ASYNC_MATCH_I2C.
  * @match.i2c.adapter_id:
@@ -188,7 +188,7 @@ void v4l2_async_notifier_cleanup(struct v4l2_async_notifier *notifier);
 
 /**
  * v4l2_async_register_subdev - registers a sub-device to the asynchronous
- *     subdevice framework
+ *     subdevice framework
  *
  * @sd: pointer to &struct v4l2_subdev
  */
@@ -218,7 +218,7 @@ int __must_check v4l2_async_register_subdev_sensor_common(
 
 /**
  * v4l2_async_unregister_subdev - unregisters a sub-device to the asynchronous
- *     subdevice framework
+ *     subdevice framework
  *
  * @sd: pointer to &struct v4l2_subdev
  */
index f420c45f79151bd2227ba426f33394b8feb2aa7d..7fc0bc6b80070cfee6d20fd3f6181b781cd2448c 100644 (file)
@@ -127,7 +127,7 @@ struct v4l2_subdev_ops;
  * @client_type:  name of the chip that's on the adapter.
  * @addr: I2C address. If zero, it will use @probe_addrs
  * @probe_addrs: array with a list of address. The last entry at such
- *     array should be %I2C_CLIENT_END.
+ *     array should be %I2C_CLIENT_END.
  *
  * returns a &struct v4l2_subdev pointer.
  */
@@ -146,7 +146,7 @@ struct i2c_board_info;
  * @info: pointer to struct i2c_board_info used to replace the irq,
  *      platform_data and addr arguments.
  * @probe_addrs: array with a list of address. The last entry at such
- *     array should be %I2C_CLIENT_END.
+ *     array should be %I2C_CLIENT_END.
  *
  * returns a &struct v4l2_subdev pointer.
  */
index 5ccf5019408ade15711ca40f2d3fcb55e42fa3e2..5253b5471897d32d71c672866f853e48d08bd4ca 100644 (file)
@@ -1146,7 +1146,7 @@ int v4l2_s_ext_ctrls(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl,
 
 /**
  * v4l2_ctrl_subdev_subscribe_event - Helper function to implement
- *     as a &struct v4l2_subdev_core_ops subscribe_event function
+ *     as a &struct v4l2_subdev_core_ops subscribe_event function
  *     that just subscribes control events.
  *
  * @sd: pointer to &struct v4l2_subdev
index 88773a67a80658eb7225f7e5ee260d5cf09264e7..267fd2bed17bd3c12b8c007bdf1daa843eed5de4 100644 (file)
@@ -66,7 +66,7 @@ struct v4l2_ctrl_handler;
  * enum v4l2_video_device_flags - Flags used by &struct video_device
  *
  * @V4L2_FL_REGISTERED:
- *     indicates that a &struct video_device is registered.
+ *     indicates that a &struct video_device is registered.
  *     Drivers can clear this flag if they want to block all future
  *     device access. It is cleared by video_unregister_device.
  * @V4L2_FL_USES_V4L2_FH:
@@ -198,7 +198,7 @@ struct v4l2_file_operations {
 
 /*
  * Newer version of video_device, handled by videodev2.c
- *     This version moves redundant code from video device code to
+ *     This version moves redundant code from video device code to
  *     the common handler
  */
 
@@ -317,7 +317,7 @@ struct video_device
  * @vdev: struct video_device to register
  * @type: type of device to register, as defined by &enum vfl_devnode_type
  * @nr:   which device node number is desired:
- *     (0 == /dev/video0, 1 == /dev/video1, ..., -1 == first free)
+ *     (0 == /dev/video0, 1 == /dev/video1, ..., -1 == first free)
  * @warn_if_nr_in_use: warn if the desired device node number
  *        was already in use and another number was chosen instead.
  * @owner: module that owns the video device node
@@ -351,13 +351,13 @@ int __must_check __video_register_device(struct video_device *vdev,
  * @vdev: struct video_device to register
  * @type: type of device to register, as defined by &enum vfl_devnode_type
  * @nr:   which device node number is desired:
- *     (0 == /dev/video0, 1 == /dev/video1, ..., -1 == first free)
+ *     (0 == /dev/video0, 1 == /dev/video1, ..., -1 == first free)
  *
  * Internally, it calls __video_register_device(). Please see its
  * documentation for more details.
  *
  * .. note::
- *     if video_register_device fails, the release() callback of
+ *     if video_register_device fails, the release() callback of
  *     &struct video_device structure is *not* called, so the caller
  *     is responsible for freeing any data. Usually that means that
  *     you video_device_release() should be called on failure.
@@ -375,7 +375,7 @@ static inline int __must_check video_register_device(struct video_device *vdev,
  * @vdev: struct video_device to register
  * @type: type of device to register, as defined by &enum vfl_devnode_type
  * @nr:   which device node number is desired:
- *     (0 == /dev/video0, 1 == /dev/video1, ..., -1 == first free)
+ *     (0 == /dev/video0, 1 == /dev/video1, ..., -1 == first free)
  *
  * This function is identical to video_register_device() except that no
  * warning is issued if the desired device node number was already in use.
@@ -384,7 +384,7 @@ static inline int __must_check video_register_device(struct video_device *vdev,
  * documentation for more details.
  *
  * .. note::
- *     if video_register_device fails, the release() callback of
+ *     if video_register_device fails, the release() callback of
  *     &struct video_device structure is *not* called, so the caller
  *     is responsible for freeing any data. Usually that means that
  *     you video_device_release() should be called on failure.
@@ -423,7 +423,7 @@ void video_device_release(struct video_device *vdev);
 
 /**
  * video_device_release_empty - helper function to implement the
- *     video_device->release\(\) callback.
+ *     video_device->release\(\) callback.
  *
  * @vdev: pointer to &struct video_device
  *
index 4e83529117f70fab4b2eb6ece41b003080c0a744..17833e886e11132a9e78bf5688ca9abc56cb88ef 100644 (file)
@@ -184,7 +184,7 @@ int v4l2_event_subdev_unsubscribe(struct v4l2_subdev *sd,
                                  struct v4l2_event_subscription *sub);
 /**
  * v4l2_src_change_event_subscribe - helper function that calls
- *     v4l2_event_subscribe() if the event is %V4L2_EVENT_SOURCE_CHANGE.
+ *     v4l2_event_subscribe() if the event is %V4L2_EVENT_SOURCE_CHANGE.
  *
  * @fh: pointer to struct v4l2_fh
  * @sub: pointer to &struct v4l2_event_subscription
index 71b8ff4b2e0ecd1e99d77d3e5c2c8e09f14667d3..980a86c08fceb766dfae8caa88eb65d413fa8bac 100644 (file)
@@ -116,7 +116,7 @@ struct v4l2_decode_vbi_line {
  * @V4L2_SUBDEV_IO_PIN_OUTPUT: set it if pin is an output.
  * @V4L2_SUBDEV_IO_PIN_INPUT: set it if pin is an input.
  * @V4L2_SUBDEV_IO_PIN_SET_VALUE: to set the output value via
- *                               &struct v4l2_subdev_io_pin_config->value.
+ *                               &struct v4l2_subdev_io_pin_config->value.
  * @V4L2_SUBDEV_IO_PIN_ACTIVE_LOW: pin active is bit 0.
  *                                Otherwise, ACTIVE HIGH is assumed.
  */
@@ -253,14 +253,14 @@ struct v4l2_subdev_core_ops {
  *
  * .. note::
  *
- *     On devices that have both AM/FM and TV, it is up to the driver
+ *     On devices that have both AM/FM and TV, it is up to the driver
  *     to explicitly call s_radio when the tuner should be switched to
  *     radio mode, before handling other &struct v4l2_subdev_tuner_ops
  *     that would require it. An example of such usage is::
  *
  *       static void s_frequency(void *priv, const struct v4l2_frequency *f)
  *       {
- *             ...
+ *             ...
  *             if (f.type == V4L2_TUNER_RADIO)
  *                     v4l2_device_call_all(v4l2_dev, 0, tuner, s_radio);
  *             ...
@@ -333,7 +333,7 @@ enum v4l2_mbus_frame_desc_flags {
  *
  * @flags:     bitmask flags, as defined by &enum v4l2_mbus_frame_desc_flags.
  * @pixelcode: media bus pixel code, valid if @flags
- *             %FRAME_DESC_FL_BLOB is not set.
+ *             %FRAME_DESC_FL_BLOB is not set.
  * @length:    number of octets per frame, valid if @flags
  *             %V4L2_MBUS_FRAME_DESC_FL_LEN_MAX is set.
  */