You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
media: fix usage of whitespaces and on indentation
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>
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -100,7 +100,7 @@ static const u8 adv7343_init_reg_val[] = {
|
||||
};
|
||||
|
||||
/*
|
||||
* 2^32
|
||||
* 2^32
|
||||
* FSC(reg) = FSC (HZ) * --------
|
||||
* 27000000
|
||||
*/
|
||||
|
||||
@@ -103,7 +103,7 @@ static const u8 adv7393_init_reg_val[] = {
|
||||
};
|
||||
|
||||
/*
|
||||
* 2^32
|
||||
* 2^32
|
||||
* FSC(reg) = FSC (HZ) * --------
|
||||
* 27000000
|
||||
*/
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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];
|
||||
|
||||
|
||||
@@ -67,10 +67,10 @@
|
||||
|
||||
#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 */
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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. */
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user