summaryrefslogtreecommitdiff
path: root/debian/copyright
blob: 703ad92c5c43c2d4bbfb0efa0c56af8fac0c174c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
This package was debianized by Tobias Klauser <tklauser@distanz.ch> on
Tue, 27 May 2008 18:56:54 +0200.

It was downloaded from <http://stoopidsimple.com/lfhex>.

Upstream Author:

    Salem Ganzhorn <eyekode@yahoo.com>

Copyright:

    Copyright (C) 2006 Salem Ganzhorn

License:

    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
    as published by the Free Software Foundation version 2.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.

On Debian systems, the complete text of the GNU General Public License
can be found in /usr/share/common-licenses/GPL-2 file.

The Debian packaging is (C) 2008, Tobias Klauser <tklauser@distanz.ch> and
is licensed under the GPL, see `/usr/share/common-licenses/GPL-2'.
.git/tree/Documentation/devicetree?h=nds-private-remove&id=1ff7760ff66b98ef244bf0e5e2bd5310651205ad'>Documentation/devicetree parentea1b60fb085839a9544cb3a0069992991beabb7f (diff)
spi: spi-ti-qspi: Handle truncated frames properly
We clamp frame_len_words to a maximum of 4096, but do not actually limit the number of words written or read through the DATA registers or the length added to spi_message::actual_length. This results in silent data corruption for commands longer than this maximum. Recalculate the length of each transfer, taking frame_len_words into account. Use this length in qspi_{read,write}_msg(), and to increment spi_message::actual_length. Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org
Diffstat (limited to 'Documentation/devicetree')