From: Eric Lapuyade Date: Mon, 29 Apr 2013 15:13:27 +0000 (+0200) Subject: NFC: Add firmware upload netlink command X-Git-Tag: v3.11-rc1~64^2~166^2^2~37^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9674da8759df0d6c0d24e1ede6e2a1acdef91e3c;p=pandora-kernel.git NFC: Add firmware upload netlink command As several NFC chipsets can have their firmwares upgraded and reflashed, this patchset adds a new netlink command to trigger that the driver loads or flashes a new firmware. This will allows userspace triggered firmware upgrade through netlink. The firmware name or hint is passed as a parameter, and the driver will eventually fetch the firmware binary through the request_firmware API. The cmd can only be executed when the nfc dev is not in use. Actual firmware loading/flashing is an asynchronous operation. Result of the operation shall send a new event up to user space through the nfc dev multicast socket. During operation, the nfc dev is not openable and thus not usable. Signed-off-by: Eric Lapuyade Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed