Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 263724
b: refs/heads/master
c: c8814df
h: refs/heads/master
v: v3
  • Loading branch information
Jesper Juhl authored and Mauro Carvalho Chehab committed Sep 11, 2011
1 parent a5e9974 commit a296d51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6a02a3306769c6f0fa8ebd92d5046c841e4e740d
refs/heads/master: c8814df3a578895390fe5c05a76328d8d111ed25
2 changes: 2 additions & 0 deletions trunk/drivers/media/video/via-camera.c
Original file line number Diff line number Diff line change
Expand Up @@ -1332,6 +1332,8 @@ static __devinit bool viacam_serial_is_enabled(void)
struct pci_bus *pbus = pci_find_bus(0, 0);
u8 cbyte;

if (!pbus)
return false;
pci_bus_read_config_byte(pbus, VIACAM_SERIAL_DEVFN,
VIACAM_SERIAL_CREG, &cbyte);
if ((cbyte & VIACAM_SERIAL_BIT) == 0)
Expand Down

0 comments on commit a296d51

Please sign in to comment.