Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
1f075d1f
Commit
1f075d1f
authored
Nov 09, 2010
by
Mauro Carvalho Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[media] technisat-usb2: CodingStyle cleanups
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@redhat.com
>
parent
d642f2f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
drivers/media/dvb/dvb-usb/technisat-usb2.c
drivers/media/dvb/dvb-usb/technisat-usb2.c
+6
-7
No files found.
drivers/media/dvb/dvb-usb/technisat-usb2.c
View file @
1f075d1f
...
@@ -331,11 +331,10 @@ static int technisat_usb2_identify_state(struct usb_device *udev,
...
@@ -331,11 +331,10 @@ static int technisat_usb2_identify_state(struct usb_device *udev,
u8
version
[
3
];
u8
version
[
3
];
/* first select the interface */
/* first select the interface */
if
(
usb_set_interface
(
udev
,
0
,
1
)
!=
0
)
{
if
(
usb_set_interface
(
udev
,
0
,
1
)
!=
0
)
err
(
"could not set alternate setting to 0"
);
err
(
"could not set alternate setting to 0"
);
}
else
{
else
info
(
"set alternate setting"
);
info
(
"set alternate setting"
);
}
*
cold
=
0
;
/* by default do not download a firmware - just in case something is wrong */
*
cold
=
0
;
/* by default do not download a firmware - just in case something is wrong */
...
@@ -378,7 +377,7 @@ static void technisat_usb2_eeprom_dump(struct dvb_usb_device *d)
...
@@ -378,7 +377,7 @@ static void technisat_usb2_eeprom_dump(struct dvb_usb_device *d)
{
{
u8 reg;
u8 reg;
u8 b[16];
u8 b[16];
int i,j;
int i,
j;
/* full EEPROM dump */
/* full EEPROM dump */
for (j = 0; j < 256 * 4; j += 16) {
for (j = 0; j < 256 * 4; j += 16) {
...
@@ -496,9 +495,9 @@ static struct stv090x_config technisat_usb2_stv090x_config = {
...
@@ -496,9 +495,9 @@ static struct stv090x_config technisat_usb2_stv090x_config = {
};
};
static
struct
stv6110x_config
technisat_usb2_stv6110x_config
=
{
static
struct
stv6110x_config
technisat_usb2_stv6110x_config
=
{
.
addr
=
0x60
,
.
addr
=
0x60
,
.
refclk
=
16000000
,
.
refclk
=
16000000
,
.
clk_div
=
2
,
.
clk_div
=
2
,
};
};
static
int
technisat_usb2_frontend_attach
(
struct
dvb_usb_adapter
*
a
)
static
int
technisat_usb2_frontend_attach
(
struct
dvb_usb_adapter
*
a
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment