aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc
AgeCommit message (Expand)AuthorFilesLines
2012-10-25drivers/rtc/rtc-imxdi.c: add missing spin lock initializationJan Luebbe1-0/+2
2012-10-11rtc: kconfig: fix RTC_INTF defaults connected to RTC_CLASSKevin Hilman1-0/+3
2012-10-06Merge branch 'akpm' (Andrew's patch-bomb)Linus Torvalds25-256/+1982
2012-10-06drivers/rtc/rtc-s35390a.c: add wakealarm support for rtc-s35390A rtc chipMichael Langer1-0/+116
2012-10-06drivers/rtc/rtc-m41t80.c: remove disabled alarm functionalityPaul Bolle1-153/+4
2012-10-06drivers/rtc/rtc-tps65910.c: use platform_get_irq() to get RTC irq detailsVenu Byravarasu1-4/+1
2012-10-06rtc: kconfig: fix up dependency for ab8500Ulf Hansson1-0/+1
2012-10-06drivers/rtc/rtc-em3027.c: convert struct i2c_msg initialization to C99 formatShubhrajyoti D1-3/+14
2012-10-06drivers/rtc/rtc-isl1208.c: convert struct i2c_msg initialization to C99 formatShubhrajyoti D1-4/+16
2012-10-06drivers/rtc/rtc-pcf8563.c: convert struct i2c_msg initialization to C99 formatShubhrajyoti D1-2/+11
2012-10-06drivers/rtc/rtc-rs5c372.c: convert struct i2c_msg initialization to C99 formatShubhrajyoti D1-1/+6
2012-10-06drivers/rtc/rtc-s35390a.c: convert struct i2c_msg initialization to C99 formatShubhrajyoti D1-2/+11
2012-10-06drivers/rtc/rtc-x1205.c: convert struct i2c_msg initialization to C99 formatShubhrajyoti D1-14/+78
2012-10-06drivers/rtc/rtc-ds1672.c: convert struct i2c_msg initialization to C99 formatShubhrajyoti D1-4/+22
2012-10-06drivers/rtc/rtc-s3c.c: fix return value in s3c_rtc_probe()Sachin Kamat1-2/+2
2012-10-06rtc_sysfs_show_hctosys(): display 0 if resume failedDavid Fries3-4/+14
2012-10-06rtc: rtc-mxc: convert to module_platform_driverFabio Estevam1-15/+5
2012-10-06rtc: rtc-mxc: adapt to the new i.mx clock frameworkFabio Estevam1-6/+4
2012-10-06drivers/rtc/rtc-coh901331.c: use clk_prepare_enable() and clk_disable_unprepa...Julia Lawall1-2/+1
2012-10-06rtc: rc5t583: add ricoh rc5t583 RTC driverVenu Byravarasu3-0/+342
2012-10-06drivers/rtc/rtc-spear.c: fix several error checksLars-Peter Clausen1-7/+5
2012-10-06drivers/rtc/rtc-jz4740.c: fix IRQ error checkLars-Peter Clausen1-1/+1
2012-10-06rtc: kconfig: remove unnecessary dependencies.Venu Byravarasu1-18/+8
2012-10-06rtc: add MAX8907 RTC driverStephen Warren3-0/+255
2012-10-06rtc: tps65910: add RTC driver for TPS65910 PMIC RTCVenu Byravarasu3-0/+363
2012-10-06drivers/rtc/rtc-at91sam9.c: use module_platform_driver() macroDevendra Naga1-12/+1
2012-10-06rtc: recycle id when unloading a rtc driverVincent Palatin1-0/+1
2012-10-06rtc: snvs: add Freescale rtc-snvs driverShawn Guo3-0/+362
2012-10-06rtc: add Dallas DS2404 driverSven Schnelle3-0/+313
2012-10-06rtc-proc: permit the /proc/driver/rtc device to use other devicesKim, Milo2-6/+28
2012-10-06drivers/rtc/rtc-isl1208.c: add support for the ISL1218Ben Gardner1-0/+1
2012-10-05Merge tag 'mfd-3.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/...Linus Torvalds1-9/+34
2012-10-02mfd: 88pm860x: Device tree supportHaojian Zhuang1-9/+34
2012-10-01Merge tag 'dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-socLinus Torvalds3-7/+19
2012-09-23Merge tag 'vt8500-for-next' of git://git.code.sf.net/p/linuxwmt/code into nex...Olof Johansson1-1/+8
2012-09-22Merge branch 'for-arm-soc-next' of git://git.linaro.org/people/ljones/linux-3...Olof Johansson1-6/+0
2012-09-21rtc: vt8500: Add devicetree support for vt8500-rtcTony Prisk1-1/+8
2012-09-20Merge tag 'omap-devel-dt-merged-for-v3.7' of git://git.kernel.org/pub/scm/lin...Olof Johansson1-7/+15
2012-09-20drivers/rtc/rtc-ab8500.c: Revoke Device Tree enablementLee Jones1-6/+0
2012-09-17drivers/rtc/rtc-twl.c: ensure all interrupts are disabled during probeKevin Hilman1-0/+5
2012-09-05Merge branch 'soc-core' of git://git.kernel.org/pub/scm/linux/kernel/git/horm...Olof Johansson4-3/+9
2012-08-27Merge tag 'at91-fixes' of git://github.com/at91linux/linux-at91 into fixesOlof Johansson1-7/+15
2012-08-23ARM: at91: fix rtc-at91sam9 irq issue due to sparse irq supportLudovic Desroches1-7/+15
2012-08-21drivers/rtc/rtc-rs5c348.c: fix hour decoding in 12-hour modeAtsushi Nemoto1-2/+5
2012-08-21drivers/rtc/rtc-pcf2123.c: initialize dynamic sysfs attributesIlya Shchepetkov1-0/+2
2012-08-16RTC: add DT bindings to pxa-rtcDaniel Mack1-0/+11
2012-08-08RTC: Avoid races between RTC alarm wakeup and suspend.NeilBrown2-1/+2
2012-07-31Merge branch 'akpm' (Andrew's patch-bomb)Linus Torvalds1-3/+1
2012-07-31Merge tag 'random_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+23
2012-07-31rtc/rtc-88pm80x: remove unneed devm_kfreeDevendra Naga1-2/+0
2012-07-31rtc/rtc-88pm80x: assign ret only when rtc_register_driver failsDevendra Naga1-1/+1
2012-07-30Merge branch 'akpm' (Andrew's patch-bomb)Linus Torvalds9-98/+133
2012-07-30drivers/rtc/rtc-pcf8563.c: add device tree supportNick Bowler1-0/+10
2012-07-30drivers/rtc/rtc-pcf8563.c: set owner field in driver structNick Bowler1-0/+1
2012-07-30rtc/rtc-da9052: remove unneed devm_kfree callDevendra Naga1-4/+1
2012-07-30rtc/mc13xxx: add support for the rtc in the mc34708 pmicUwe Kleine-König1-0/+2
2012-07-30rtc/mc13xxx: use MODULE_DEVICE_TABLE instead of MODULE_ALIASUwe Kleine-König1-2/+2
2012-07-30drivers/rtc/rtc-s3c.c: replace #include header files from asm/* to linux/*Sachin Kamat1-2/+2
2012-07-30drivers/rtc/rtc-r9701.c: check that r9701_set_datetime() succeededAndrew Morton1-1/+2
2012-07-30drivers/rtc/rtc-r9701.c: avoid second call to rtc_valid_tm()Devendra Naga1-2/+1
2012-07-30drivers/rtc/rtc-ab8500.c: remove fix for AB8500 ED versionBengt Jonsson1-16/+11
2012-07-30drivers/rtc/rtc-ab8500.c: use UIE emulationRamesh Chandrasekaran2-1/+15
2012-07-30rtc: pl031: fix up IRQ flagsMattias Wallin1-1/+10
2012-07-30rtc: pl031: use per-vendor variables for special initLinus Walleij1-9/+14
2012-07-30rtc: pl031: encapsulate per-vendor opsLinus Walleij1-22/+39
2012-07-30drivers/rtc/rtc-coh901331.c: use devm allocationLinus Walleij1-35/+15
2012-07-30drivers/rtc/rtc-coh901331.c: use clk_prepare/unprepareLinus Walleij1-3/+8
2012-07-30Merge tag 'mfd-3.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/...Linus Torvalds4-6/+389
2012-07-25Merge branch 'v3.5-rc7-fixes' of git://github.com/lunn/linux into fixesArnd Bergmann1-1/+1
2012-07-25ARM: Kirkwood: Replace mrvl with marvellAndrew Lunn1-1/+1
2012-07-23Merge tag 'dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-socLinus Torvalds1-0/+8
2012-07-23Merge tag 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-socLinus Torvalds1-0/+1
2012-07-19rtc: wm831x: Feed the write counter into device_add_randomness()Mark Brown1-1/+23
2012-07-19Merge branch 'pm-drivers'Rafael J. Wysocki1-0/+1
2012-07-17rtc-cmos: report wakeups from interrupt handlerPaul Fox1-0/+1
2012-07-11drivers/rtc/rtc-twl.c: fix threaded IRQ to use IRQF_ONESHOTKevin Hilman1-1/+1
2012-07-11drivers/rtc/rtc-mxc.c: fix irq enabled interrupts warningBenoît Thébaudeau1-2/+3
2012-07-11drivers/rtc/rtc-ab8500.c: ensure correct probing of the AB8500 RTC when Devic...Lee Jones1-1/+7
2012-07-11drivers/rtc/rtc-ab8500.c: use IRQF_ONESHOT when requesting a threaded IRQLee Jones1-1/+1
2012-07-11drivers/rtc/rtc-spear.c: fix use-after-free in spear_rtc_remove()Devendra Naga1-1/+1
2012-07-09rtc: Add rtc support to 88PM80X PMICQiao Zhou3-0/+382
2012-07-09mfd: Transfer rtc max8925 irq from MFD defined resourcesHaojian Zhuang1-6/+7
2012-07-04ARM: at91: fix new build errorsArnd Bergmann1-0/+1
2012-07-03rtc: stmp3xxx: Add simple binding for the stmp3xxx-rtcMarek Vasut1-0/+8
2012-06-03Merge branch 'pm-acpi' of git://git.kernel.org/pub/scm/linux/kernel/git/rafae...Linus Torvalds1-3/+6
2012-05-29drivers/rtc/rtc-s3c.c: fix compiler warningSachin Kamat1-1/+1
2012-05-29drivers/rtc/rtc-tegra.c: clean up probe/remove routinesHannu Heikkinen1-37/+13
2012-05-29drivers/rtc/rtc-pl031.c: remove RTC timer interrupt handlingRajkumar Kasirajan1-11/+3
2012-05-29drivers/rtc/rtc-lpc32xx.c: add device tree supportRoland Stigge1-1/+11
2012-05-29drivers/rtc/rtc-m41t93.c: don't let get_time() reset M41T93_FLAG_OFNikolaus Voss1-19/+27
2012-05-29rtc: ds1307: add trickle charger supportWolfram Sang1-3/+16
2012-05-29rtc: ds1307: remove superfluous initializationWolfram Sang1-1/+0
2012-05-29rtc: rename CONFIG_RTC_MXC to CONFIG_RTC_DRV_MXCFabio Estevam2-2/+2
2012-05-29drivers/rtc/Kconfig: place RTC_DRV_IMXDI and RTC_MXC under "on-CPU RTC drivers"Fabio Estevam1-21/+21
2012-05-29drivers/rtc/rtc-pcf8563.c: add RTC_VL_READ/RTC_VL_CLR ioctl featureAlexander Stein1-1/+43
2012-05-29drivers/rtc/rtc-ep93xx.c: convert to use module_platform_driver()H Hartley Sweeten1-18/+6
2012-05-29rtc/spear: add Device Tree probing capabilityViresh Kumar1-0/+10
2012-05-29rtc-cmos / PM: report wakeup event on ACPI RTC alarmDaniel Drake1-3/+6
2012-05-29Merge tag 'mfd-3.5-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/...Linus Torvalds1-1/+1
2012-05-26Merge tag 'clock' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-socLinus Torvalds1-3/+3
2012-05-22Merge tag 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-socLinus Torvalds1-1/+1
2012-05-20mfd: Convert wm831x to irq_domainMark Brown1-1/+1
2012-05-17drivers/rtc/rtc-pl031.c: configure correct wday for 2000-01-01Rajkumar Kasirajan1-0/+18
2012-05-11Merge branch 'clk/mxs' of git://git.linaro.org/people/shawnguo/linux-2.6 into...Arnd Bergmann2-2/+2
2012-05-09Merge tag 'v3.4-rc6' into next/cleanupOlof Johansson2-2/+2
2012-05-04Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-2/+1
2012-04-26rtc: Fix possible null pointer dereference in rtc-mpc5121.cJohn Stultz1-2/+1
2012-04-25drivers/rtc/rtc-ds1307.c: fix BUG shown with lock debugging enabledAnatolij Gustschin1-0/+1
2012-04-25rtc: imx dryice: Add missing clk_prepareSascha Hauer1-3/+3
2012-04-16rtc: Kconfig: remove dependency for AT91 rtc driverNicolas Ferre1-1/+1
2012-04-12drivers/rtc/rtc-pl031.c: enable clock on all ST variantsLinus Walleij1-2/+1
2012-04-12drivers/rtc/rtc-twl.c: use static register while reading timeKonstantin Shlyakhovoy1-5/+38
2012-04-12drivers/rtc/rtc-s3c.c: add placeholder for driver private dataTushar Behera1-5/+18
2012-04-12drivers/rtc/rtc-s3c.c: fix compilation errorTushar Behera1-4/+4
2012-04-12drivers/rtc/rtc-efi.c: fix section mismatch warningJan Beulich1-1/+0
2012-04-12drivers/rtc/rtc-r9701.c: reset registers if invalid values are detectedAndreas Dumberger1-0/+22
2012-04-05Merge branch 'akpm' (Andrew's patch-bomb)Linus Torvalds1-2/+2
2012-04-05drivers/rtc/rtc-88pm860x.c: fix rtc irq enable callbackJett.Zhou1-2/+2
2012-03-29Merge tag 'cleanup2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm...Linus Torvalds1-0/+1
2012-03-29Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds2-0/+7
2012-03-28Merge tag 'mfd_3.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/...Linus Torvalds1-0/+27
2012-03-28Merge tag 'dt2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-socLinus Torvalds1-0/+9
2012-03-27Merge branch 'platforms' of git://git.linaro.org/people/rmk/linux-armLinus Torvalds1-1/+1
2012-03-27Merge tag 'dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-socLinus Torvalds1-57/+28
2012-03-27Merge tag 'drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-socLinus Torvalds3-48/+154
2012-03-27Merge tag 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-socLinus Torvalds2-71/+12
2012-03-25ARM: 7340/1: rtc: sa1100: include mach/irqs.h instead of asm/irq.hRob Herring1-1/+1
2012-03-25ARM: pxa: use common IOMEM definitionRob Herring1-0/+1
2012-03-24Merge branch 'kirkwood/dt' into next/dt2Arnd Bergmann1-0/+9
2012-03-23Merge branch 'amba' of git://git.linaro.org/people/rmk/linux-armLinus Torvalds2-24/+2
2012-03-23rtc: ds1307: generalise ram size and offsetAustin Boyle1-31/+47
2012-03-23rtc: ds1307: comment and format cleanupDavid Anders1-13/+24
2012-03-23rtc: ds1307: simplify irq setup codeWolfram Sang1-6/+5
2012-03-23rtc: ds1307: refactor chip_desc tableWolfram Sang1-29/+19
2012-03-23rtc: driver for DA9052/53 PMIC v1Ashish Jangam3-0/+301
2012-03-23drivers/rtc/rtc-max8925.c: fix alarm->enabled mistake in max8925_rtc_read_ala...Kevin Liu1-5/+15
2012-03-23drivers/rtc/rtc-max8925.c: fix max8925_rtc_read_alarm() return value errorKevin Liu1-0/+1
2012-03-23drivers/rtc/rtc-pm8xxx.c: make pm8xxx_rtc_pm_ops staticNavin P1-1/+1
2012-03-23drivers/rtc: remove IRQF_DISABLEDYong Zhang21-32/+31
2012-03-23drivers/rtc/rtc-twl.c: return correct RTC event from ISRVenu Byravarasu1-3/+3
2012-03-23drivers/rtc/rtc-twl.c: simplify RTC interrupt clearingVenu Byravarasu1-1/+1
2012-03-23drivers/rtc/rtc-twl.c: enable RTC irrespective of its prior stateVenu Byravarasu1-10/+2
2012-03-23drivers/rtc/rtc-twl.c: optimize IRQ bit accessVenu Byravarasu1-0/+8
2012-03-23MIPS: add RTC support for loongson1Bzhao zhang3-0/+221
2012-03-23rtc: convert rtc i2c drivers to module_i2c_driverAxel Lin19-227/+19
2012-03-23rtc: convert rtc spi drivers to module_spi_driverAxel Lin9-103/+9
2012-03-23rtc/rtc-spear: call platform_set_drvdata() before registering rtc deviceViresh Kumar1-40/+21
2012-03-23rtc/spear: fix for RTC_AIE_ON and RTC_AIE_OFF ioctl errorsShiraz Hashim1-0/+28
2012-03-23rtc-spear: fix for balancing the enable_irq_wake in Power MgmtDeepak Sikri1-6/+11
2012-03-20Merge branch 'next/fixes-non-critical' into next/driversArnd Bergmann1-7/+7
2012-03-20Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-3/+27
2012-03-16ARM: 7362/1: AMBA: Add module_amba_driver() helper macro for amba_driverviresh kumar2-24/+2
2012-03-16Merge branch 'spear/dt' into next/dt2Arnd Bergmann1-7/+7
2012-03-16Merge branch 'kirkwood_dt_for_3.4_v3' of git://git.infradead.org/users/jcoope...Arnd Bergmann1-0/+9
2012-03-16ARM: kirkwood: rtc-mv devicetree bindingsJason Cooper1-0/+9
2012-03-15rtc: Provide flag for rtc devices that don't support UIEJohn Stultz2-0/+7
2012-03-15Merge branch 'ep93xx-for-arm-soc' of git://github.com/RyanMallon/linux-2.6 in...Arnd Bergmann1-7/+7
2012-03-08Merge branch 'rtc' of git://github.com/hzhuang1/linux into next/driversOlof Johansson1-0/+9
2012-03-08Merge branch 'next/cleanup-s3c24xx' of git://git.kernel.org/pub/scm/linux/ker...Olof Johansson1-1/+1
2012-03-07Merge branch 'topic/cleanup-s3c24xx' into next/cleanup-s3c24xxKukjin Kim1-1/+1
2012-03-06mfd: Add ability to wake the system for 88pm860xJett.Zhou1-0/+27
2012-03-06rtc: sa1100: add OF supportHaojian Zhuang1-0/+9
2012-03-05drivers/rtc/rtc-r9701.c: fix crash in r9701_remove()Anatolij Gustschin1-7/+7
2012-03-03ARM: S3C24XX: change the ARCH_S3C2410 to ARCH_S3C24XXKukjin Kim1-1/+1
2012-02-28Merge branch 'rtc-sa1100' of git://github.com/hzhuang1/linux into next/driversArnd Bergmann2-104/+98
2012-02-28rtc: sa1100: enable clk supportHaojian Zhuang1-0/+17
2012-02-28rtc: sa1100: declare irq in resourceHaojian Zhuang2-33/+69
2012-02-28rtc: sa1100: remove verification code of alarmHaojian Zhuang1-55/+11
2012-02-28rtc: sa1100: remove periodic codeHaojian Zhuang1-15/+0
2012-02-23ARM: at91/rtc-at91sam9: pass the GPBR to use via resourcesJean-Christophe PLAGNIOL-VILLARD1-5/+19
2012-02-23ARM: at91:rtc/rtc-at91sam9: ioremap register bankJean-Christophe PLAGNIOL-VILLARD1-3/+10
2012-02-23ARM: at91/rtc-at91sam9: each SoC can select the RTT device to useJean-Christophe PLAGNIOL-VILLARD1-52/+9
2012-02-22Merge branch 'lpc32xx/drivers' into next/driversArnd Bergmann1-3/+10
2012-02-15Merge branch 'fortglx/3.4/rtc' of git://git.linaro.org/people/jstultz/linux i...Thomas Gleixner1-3/+27
2012-02-13ARM: at91:rtc/rtc-at91sam9: ioremap register bankJean-Christophe PLAGNIOL-VILLARD1-3/+10
2012-02-07rtc-s3c: add variants for S3C2443 and S3C2416Heiko Stuebner1-4/+36
2012-02-07rtc-s3c: make room for more variants in devicetree blockHeiko Stuebner1-9/+22
2012-01-26rtc: Disable the alarm in the hardware (v2)Rabin Vincent1-2/+13
2012-01-26rtc: Expire alarms after the time is set. (v2)NeilBrown1-0/+4
2012-01-26rtc: Avoid setting alarm to a time in the pastJohn Stultz1-1/+10
2012-01-19Revert "RTC: sa1100: remove redundant code of setting alarm"Russell King1-12/+41
2012-01-19Revert "RTC: sa1100: support sa1100, pxa and mmp soc families"Russell King2-178/+80
2012-01-13Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/same...Linus Torvalds2-1/+27
2012-01-11Merge branch 'x86-platform-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-3/+3
2012-01-10Merge branch 'unicore32' of git://github.com/gxt/linuxLinus Torvalds1-18/+4
2012-01-10drivers/rtc/interface.c: fix alarm rollover when day or month is out-of-rangeBen Hutchings1-2/+2
2012-01-10drivers/rtc/rtc-twl.c: add DT support for RTC inside twl4030/twl6030Benoit Cousson1-2/+8
2012-01-10drivers/rtc/: remove redundant spi driver bus initializationLars-Peter Clausen5-5/+0
2012-01-10drivers/rtc/rtc-jz4740.c: make jz4740_rtc_driver staticAxel Lin1-1/+1
2012-01-10drivers/rtc/rtc-mc13xxx.c: make mc13xxx_rtc_idtable staticAxel Lin1-1/+1
2012-01-10rtc: convert drivers/rtc/* to use module_platform_driver()Axel Lin30-351/+30
2012-01-10drivers/rtc/rtc-wm831x.c: convert to devm_kzalloc()Mark Brown1-3/+1
2012-01-10drivers/rtc/rtc-wm831x.c: remove unused period IRQ handlerMark Brown1-20/+0
2012-01-10rtc/ab8500: add calibration attribute to AB8500 RTCMark Godfrey1-0/+112
2012-01-10drivers/rtc/rtc-ab8500.c: change msleep() to usleep_range()Linus Walleij1-3/+3
2012-01-10rtc/ab8500: set can_wake flagAndrew Lynn1-0/+2
2012-01-10rtc/ab8500: don't disable IRQ:s when suspendingRobert Marklund1-2/+2
2012-01-10drivers/rtc/rtc-mxc.c: make alarm workYauhen Kharuzhy1-53/+59
2012-01-10drivers/rtc/rtc-mxc.c: fix setting time for MX1 SoCYauhen Kharuzhy1-0/+11
2012-01-10drivers/rtc/rtc-cmos.c: fix broken NVRAM bank 2 writingOndrej Zary1-1/+1