[PATCH 3.2 110/152] can: dev: fix crtlmode_supported check

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Oliver Hartkopp commit 9b1087aa5e86448fe6ad40a58964e35f3ba423d5 upstream. When changing flags in the CAN drivers ctrlmode the provided new content has to be checked whether the bits are

[PATCH 3.2 110/152] can: dev: fix crtlmode_supported check

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Oliver Hartkopp socket...@hartkopp.net commit 9b1087aa5e86448fe6ad40a58964e35f3ba423d5 upstream. When changing flags in the CAN drivers ctrlmode the provided new content has to be checked