| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | | - * |
|---|
| 3 | 3 | * |
|---|
| 4 | 4 | * Copyright (C) 2005 Mike Isely <isely@pobox.com> |
|---|
| 5 | 5 | * Copyright (C) 2004 Aurelien Alleaume <slts@free.fr> |
|---|
| 6 | | - * |
|---|
| 7 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 8 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 9 | | - * the Free Software Foundation; either version 2 of the License |
|---|
| 10 | | - * |
|---|
| 11 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 12 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 13 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 14 | | - * GNU General Public License for more details. |
|---|
| 15 | | - * |
|---|
| 16 | 6 | */ |
|---|
| 17 | 7 | |
|---|
| 18 | 8 | #include <linux/device.h> // for linux/firmware.h |
|---|
| .. | .. |
|---|
| 294 | 284 | wrData[0] = 0x0; |
|---|
| 295 | 285 | ret = pvr2_encoder_write_words(hdw,MBOX_BASE,wrData,1); |
|---|
| 296 | 286 | break; |
|---|
| 297 | | - |
|---|
| 298 | | - }; LOCK_GIVE(hdw->ctl_lock); |
|---|
| 287 | + } |
|---|
| 288 | + LOCK_GIVE(hdw->ctl_lock); |
|---|
| 299 | 289 | |
|---|
| 300 | 290 | return ret; |
|---|
| 301 | 291 | } |
|---|