summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/media/pci/solo6x10
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/media/pci/solo6x10')
-rw-r--r--kernel/drivers/media/pci/solo6x10/solo6x10.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/drivers/media/pci/solo6x10/solo6x10.h b/kernel/drivers/media/pci/solo6x10/solo6x10.h
index 4ab6586c0..f53e59e9c 100644
--- a/kernel/drivers/media/pci/solo6x10/solo6x10.h
+++ b/kernel/drivers/media/pci/solo6x10/solo6x10.h
@@ -286,7 +286,10 @@ static inline u32 solo_reg_read(struct solo_dev *solo_dev, int reg)
static inline void solo_reg_write(struct solo_dev *solo_dev, int reg,
u32 data)
{
+ u16 val;
+
writel(data, solo_dev->reg_base + reg);
+ pci_read_config_word(solo_dev->pdev, PCI_STATUS, &val);
}
static inline void solo_irq_on(struct solo_dev *dev, u32 mask)