adv7842.c (c38e8657a471e9af42b86009e5d3085031b41fda) | adv7842.c (2d3da59ff163b2aa805de0fc65ba933a735b00cd) |
---|---|
1/* 2 * adv7842 - Analog Devices ADV7842 video decoder driver 3 * 4 * Copyright 2013 Cisco Systems, Inc. and/or its affiliates. All rights reserved. 5 * 6 * This program is free software; you may redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; version 2 of the License. --- 3453 unchanged lines hidden (view full) --- 3462 v4l_dbg(1, debug, client, "detecting adv7842 client on address 0x%x\n", 3463 client->addr << 1); 3464 3465 if (!pdata) { 3466 v4l_err(client, "No platform data!\n"); 3467 return -ENODEV; 3468 } 3469 | 1/* 2 * adv7842 - Analog Devices ADV7842 video decoder driver 3 * 4 * Copyright 2013 Cisco Systems, Inc. and/or its affiliates. All rights reserved. 5 * 6 * This program is free software; you may redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; version 2 of the License. --- 3453 unchanged lines hidden (view full) --- 3462 v4l_dbg(1, debug, client, "detecting adv7842 client on address 0x%x\n", 3463 client->addr << 1); 3464 3465 if (!pdata) { 3466 v4l_err(client, "No platform data!\n"); 3467 return -ENODEV; 3468 } 3469 |
3470 state = devm_kzalloc(&client->dev, sizeof(struct adv7842_state), GFP_KERNEL); | 3470 state = devm_kzalloc(&client->dev, sizeof(*state), GFP_KERNEL); |
3471 if (!state) 3472 return -ENOMEM; 3473 3474 /* platform data */ 3475 state->pdata = *pdata; 3476 state->timings = cea640x480; 3477 state->format = adv7842_format_info(state, MEDIA_BUS_FMT_YUYV8_2X8); 3478 --- 147 unchanged lines hidden --- | 3471 if (!state) 3472 return -ENOMEM; 3473 3474 /* platform data */ 3475 state->pdata = *pdata; 3476 state->timings = cea640x480; 3477 state->format = adv7842_format_info(state, MEDIA_BUS_FMT_YUYV8_2X8); 3478 --- 147 unchanged lines hidden --- |