mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-16 06:31:46 +00:00
[media] saa7134: coding style cleanups
Just white space and coding style changes to reduce the noise in the following patches. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
parent
17e7f1b515
commit
e72936d235
@ -648,19 +648,20 @@ static int snd_card_saa7134_hw_params(struct snd_pcm_substream * substream,
|
||||
return err;
|
||||
}
|
||||
|
||||
if (0 != (err = videobuf_dma_map(&dev->pci->dev, &dev->dmasound.dma))) {
|
||||
err = videobuf_dma_map(&dev->pci->dev, &dev->dmasound.dma);
|
||||
if (err) {
|
||||
dsp_buffer_free(dev);
|
||||
return err;
|
||||
}
|
||||
if (0 != (err = saa7134_pgtable_alloc(dev->pci,&dev->dmasound.pt))) {
|
||||
err = saa7134_pgtable_alloc(dev->pci, &dev->dmasound.pt);
|
||||
if (err) {
|
||||
videobuf_dma_unmap(&dev->pci->dev, &dev->dmasound.dma);
|
||||
dsp_buffer_free(dev);
|
||||
return err;
|
||||
}
|
||||
if (0 != (err = saa7134_pgtable_build(dev->pci,&dev->dmasound.pt,
|
||||
dev->dmasound.dma.sglist,
|
||||
dev->dmasound.dma.sglen,
|
||||
0))) {
|
||||
err = saa7134_pgtable_build(dev->pci, &dev->dmasound.pt,
|
||||
dev->dmasound.sglist, dev->dmasound.sglen, 0);
|
||||
if (err) {
|
||||
saa7134_pgtable_free(dev->pci, &dev->dmasound.pt);
|
||||
videobuf_dma_unmap(&dev->pci->dev, &dev->dmasound.dma);
|
||||
dsp_buffer_free(dev);
|
||||
|
@ -1360,10 +1360,3 @@ EXPORT_SYMBOL(saa7134_pgtable_free);
|
||||
EXPORT_SYMBOL(saa7134_pgtable_build);
|
||||
EXPORT_SYMBOL(saa7134_pgtable_alloc);
|
||||
EXPORT_SYMBOL(saa7134_set_dmabits);
|
||||
|
||||
/* ----------------------------------------------------------- */
|
||||
/*
|
||||
* Local variables:
|
||||
* c-basic-offset: 8
|
||||
* End:
|
||||
*/
|
||||
|
@ -1955,10 +1955,3 @@ static void __exit dvb_unregister(void)
|
||||
|
||||
module_init(dvb_register);
|
||||
module_exit(dvb_unregister);
|
||||
|
||||
/* ------------------------------------------------------------------ */
|
||||
/*
|
||||
* Local variables:
|
||||
* c-basic-offset: 8
|
||||
* End:
|
||||
*/
|
||||
|
@ -395,10 +395,3 @@ static void __exit empress_unregister(void)
|
||||
|
||||
module_init(empress_register);
|
||||
module_exit(empress_unregister);
|
||||
|
||||
/* ----------------------------------------------------------- */
|
||||
/*
|
||||
* Local variables:
|
||||
* c-basic-offset: 8
|
||||
* End:
|
||||
*/
|
||||
|
@ -427,10 +427,3 @@ int saa7134_i2c_unregister(struct saa7134_dev *dev)
|
||||
i2c_del_adapter(&dev->i2c_adap);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------- */
|
||||
/*
|
||||
* Local variables:
|
||||
* c-basic-offset: 8
|
||||
* End:
|
||||
*/
|
||||
|
@ -369,10 +369,3 @@
|
||||
#define SAA7135_DSP_RWCLEAR_RERR 1
|
||||
|
||||
#define SAA7133_I2S_AUDIO_CONTROL 0x591
|
||||
/* ------------------------------------------------------------------ */
|
||||
/*
|
||||
* Local variables:
|
||||
* c-basic-offset: 8
|
||||
* End:
|
||||
*/
|
||||
|
||||
|
@ -318,10 +318,3 @@ void saa7134_irq_ts_done(struct saa7134_dev *dev, unsigned long status)
|
||||
done:
|
||||
spin_unlock(&dev->slock);
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------- */
|
||||
/*
|
||||
* Local variables:
|
||||
* c-basic-offset: 8
|
||||
* End:
|
||||
*/
|
||||
|
@ -1079,10 +1079,3 @@ int saa7134_tvaudio_do_scan(struct saa7134_dev *dev)
|
||||
|
||||
EXPORT_SYMBOL(saa_dsp_writel);
|
||||
EXPORT_SYMBOL(saa7134_tvaudio_setmute);
|
||||
|
||||
/* ----------------------------------------------------------- */
|
||||
/*
|
||||
* Local variables:
|
||||
* c-basic-offset: 8
|
||||
* End:
|
||||
*/
|
||||
|
@ -243,10 +243,3 @@ void saa7134_irq_vbi_done(struct saa7134_dev *dev, unsigned long status)
|
||||
done:
|
||||
spin_unlock(&dev->slock);
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------- */
|
||||
/*
|
||||
* Local variables:
|
||||
* c-basic-offset: 8
|
||||
* End:
|
||||
*/
|
||||
|
@ -2389,10 +2389,3 @@ void saa7134_irq_video_done(struct saa7134_dev *dev, unsigned long status)
|
||||
done:
|
||||
spin_unlock(&dev->slock);
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------- */
|
||||
/*
|
||||
* Local variables:
|
||||
* c-basic-offset: 8
|
||||
* End:
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user