Skip to content

Commit

Permalink
[media] saa7164: change debug to saa_debug
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Steven Toth authored and Mauro Carvalho Chehab committed Oct 21, 2010
1 parent 1247ff5 commit 99b73d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions drivers/media/video/saa7164/saa7164-api.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@

int saa7164_api_get_load_info(struct saa7164_dev *dev, tmFwInfoStruct_t *i)
{
int ret, debug;
int ret;

if (!(debug & DBGLVL_CPU))
if (!(saa_debug & DBGLVL_CPU))
return 0;

dprintk(DBGLVL_API, "%s()\n", __func__);
Expand Down
6 changes: 3 additions & 3 deletions drivers/media/video/saa7164/saa7164-bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ void saa7164_bus_dump(struct saa7164_dev *dev)
void saa7164_bus_verify(struct saa7164_dev *dev)
{
tmComResBusInfo_t *b = &dev->bus;
int bug = 0, debug;
int bug = 0;

if (saa7164_readl(b->m_dwSetReadPos) > b->m_dwSizeSetRing)
bug++;
Expand All @@ -98,9 +98,9 @@ void saa7164_bus_verify(struct saa7164_dev *dev)
bug++;

if (bug) {
debug = 0xffff; /* Ensure we get the bus dump */
saa_debug = 0xffff; /* Ensure we get the bus dump */
saa7164_bus_dump(dev);
debug = 1024; /* Ensure we get the bus dump */
saa_debug = 1024; /* Ensure we get the bus dump */
BUG();
}
}
Expand Down

0 comments on commit 99b73d3

Please sign in to comment.