diff options
author | Mike Isely <isely@pobox.com> | 2007-09-08 21:32:12 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-09 21:14:34 -0400 |
commit | 56585386e297c54a65feef55810c13b4313bdf1e (patch) | |
tree | e41f894e348c8fe5340fe7b4e369265bfacbf3bf /drivers/media/video/pvrusb2/pvrusb2-hdw.c | |
parent | 9f66d4eac6be2428901ab6e0cbb6747d5b6794ef (diff) |
V4L/DVB (6211): pvrusb2: Allocate a debug mask bit for reporting video standard things
It's useful to see specific details for how the pvrusb2 driver is
figuring out things related to the video standard, independent of
other initialization activities. So let's set up a separate debug
mask bit for this and turn it on.
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-hdw.c')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-hdw.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/drivers/media/video/pvrusb2/pvrusb2-hdw.c index 20dc573bc150..eec83d6ae788 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-hdw.c +++ b/drivers/media/video/pvrusb2/pvrusb2-hdw.c | |||
@@ -1741,7 +1741,7 @@ static void pvr2_hdw_setup_std(struct pvr2_hdw *hdw) | |||
1741 | std1 = get_default_standard(hdw); | 1741 | std1 = get_default_standard(hdw); |
1742 | 1742 | ||
1743 | bcnt = pvr2_std_id_to_str(buf,sizeof(buf),hdw->std_mask_eeprom); | 1743 | bcnt = pvr2_std_id_to_str(buf,sizeof(buf),hdw->std_mask_eeprom); |
1744 | pvr2_trace(PVR2_TRACE_INIT, | 1744 | pvr2_trace(PVR2_TRACE_STD, |
1745 | "Supported video standard(s) reported by eeprom: %.*s", | 1745 | "Supported video standard(s) reported by eeprom: %.*s", |
1746 | bcnt,buf); | 1746 | bcnt,buf); |
1747 | 1747 | ||
@@ -1750,7 +1750,7 @@ static void pvr2_hdw_setup_std(struct pvr2_hdw *hdw) | |||
1750 | std2 = std1 & ~hdw->std_mask_avail; | 1750 | std2 = std1 & ~hdw->std_mask_avail; |
1751 | if (std2) { | 1751 | if (std2) { |
1752 | bcnt = pvr2_std_id_to_str(buf,sizeof(buf),std2); | 1752 | bcnt = pvr2_std_id_to_str(buf,sizeof(buf),std2); |
1753 | pvr2_trace(PVR2_TRACE_INIT, | 1753 | pvr2_trace(PVR2_TRACE_STD, |
1754 | "Expanding supported video standards" | 1754 | "Expanding supported video standards" |
1755 | " to include: %.*s", | 1755 | " to include: %.*s", |
1756 | bcnt,buf); | 1756 | bcnt,buf); |
@@ -1761,7 +1761,7 @@ static void pvr2_hdw_setup_std(struct pvr2_hdw *hdw) | |||
1761 | 1761 | ||
1762 | if (std1) { | 1762 | if (std1) { |
1763 | bcnt = pvr2_std_id_to_str(buf,sizeof(buf),std1); | 1763 | bcnt = pvr2_std_id_to_str(buf,sizeof(buf),std1); |
1764 | pvr2_trace(PVR2_TRACE_INIT, | 1764 | pvr2_trace(PVR2_TRACE_STD, |
1765 | "Initial video standard forced to %.*s", | 1765 | "Initial video standard forced to %.*s", |
1766 | bcnt,buf); | 1766 | bcnt,buf); |
1767 | hdw->std_mask_cur = std1; | 1767 | hdw->std_mask_cur = std1; |
@@ -1781,7 +1781,7 @@ static void pvr2_hdw_setup_std(struct pvr2_hdw *hdw) | |||
1781 | hdw->std_mask_eeprom)) continue; | 1781 | hdw->std_mask_eeprom)) continue; |
1782 | bcnt = pvr2_std_id_to_str(buf,sizeof(buf), | 1782 | bcnt = pvr2_std_id_to_str(buf,sizeof(buf), |
1783 | std_eeprom_maps[idx].std); | 1783 | std_eeprom_maps[idx].std); |
1784 | pvr2_trace(PVR2_TRACE_INIT, | 1784 | pvr2_trace(PVR2_TRACE_STD, |
1785 | "Initial video standard guessed as %.*s", | 1785 | "Initial video standard guessed as %.*s", |
1786 | bcnt,buf); | 1786 | bcnt,buf); |
1787 | hdw->std_mask_cur = std_eeprom_maps[idx].std; | 1787 | hdw->std_mask_cur = std_eeprom_maps[idx].std; |
@@ -1796,7 +1796,7 @@ static void pvr2_hdw_setup_std(struct pvr2_hdw *hdw) | |||
1796 | hdw->std_enum_cur = 1; | 1796 | hdw->std_enum_cur = 1; |
1797 | hdw->std_mask_cur = hdw->std_defs[hdw->std_enum_cur-1].id; | 1797 | hdw->std_mask_cur = hdw->std_defs[hdw->std_enum_cur-1].id; |
1798 | hdw->std_dirty = !0; | 1798 | hdw->std_dirty = !0; |
1799 | pvr2_trace(PVR2_TRACE_INIT, | 1799 | pvr2_trace(PVR2_TRACE_STD, |
1800 | "Initial video standard auto-selected to %s", | 1800 | "Initial video standard auto-selected to %s", |
1801 | hdw->std_defs[hdw->std_enum_cur-1].name); | 1801 | hdw->std_defs[hdw->std_enum_cur-1].name); |
1802 | return; | 1802 | return; |